You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Different line styles between PNG and PDF exports. #6588
I tested the same example with exports in EPS and SVG, and they look fine (i.e. like the PNG ones) even with MPL from the 2.x master branch. So it seems that the problem is indeed with the PDF backend.
This problem also shows up in interpolation_none_vs_nearest.py in the gallery, with #6584 applied (and presumably without it). The automatic selection of the number of ticks works for the agg output but not for the pdf.
Activity
tacaswell commentedon Jun 15, 2016
That is also my guess, it looks like the scaling is not being passed through to the pdf backend correctly.
attn @jkseppan
afvincent commentedon Jun 15, 2016
I tested the same example with exports in EPS and SVG, and they look fine (i.e. like the PNG ones) even with MPL from the 2.x master branch. So it seems that the problem is indeed with the PDF backend.
jkseppan commentedon Jun 15, 2016
It seems #5926 changed the interface of GraphicsContext toward subclasses in a way that's a bit unfortunate for how the pdf backend used it
Implement dash pattern scaling in pdf
efiring commentedon Jun 15, 2016
This problem also shows up in interpolation_none_vs_nearest.py in the gallery, with #6584 applied (and presumably without it). The automatic selection of the number of ticks works for the agg output but not for the pdf.
efiring commentedon Jun 15, 2016
I will make a separate issue for the tick number problem.
FIX: do dash scaling early
FIX: do dash scaling early