I think there may be a bug in PNG export DPI metadata.
I exported graphs with commands like:
Code: Select all
rer_trends.save(t=png,d=300) "RER_trends.png"
rer_irf.save(t=png,d=300,w=8,h=5) "RER_IRF.png"
The pixel dimensions are large enough, so d=300 may be affecting export sizing, but the PNG resolution metadata/pHYs chunk is still written as ~96 DPI. This causes automated checks and downstream publishing workflows that inspect DPI metadata to fail.
Expected behavior: save(t=png,d=300) should produce a PNG whose horizontal and vertical DPI metadata are 300.
Can you confirm whether d=300 is intended to set PNG DPI metadata, and if so whether this is a known issue?
Thanks.
