Open rdeits opened 6 years ago
It sounds likely to be related to the resolution changes, yes
It's the eternal issue with Plots that there are so many components that need to interlock - here the GR runtime, GR, Plots, IJulia, svg...
Is there a reason why SVG is the default? FYI PyPlot.jl avoids SVG because it's problematic:
disable SVG output by default, since displaying large SVGs (large datasets) in IJulia is slow, and browser SVG display is buggy. (Similar to IPython.)
--- https://github.com/JuliaPy/PyPlot.jl/blob/daadae458ecb696e29c45636d91a9e7b7eddc246/src/PyPlot.jl#L88
That's not the issue here, though. Normally svg looks perfectly fine, and is pretty. It's just that GR recently changed it's default SVG resolution, and that has had some interactions with the rest of the ecosystem.
I see. Thanks for the explanation.
When viewing a plot from Plots.jl with the GR backend in IJulia, the axis labels end up unreadably small, e.g.:
I can reproduce the issue using both the latest releases of Plots.jl and GR.jl, and it persists when using the master branches of Plots.jl and GR.jl (even after manually rebuilding GR.jl). It looks like there have been some resolution handling changes in GR recently, so perhaps this explains the issue?
Saving the figure to .png or .svg results in normally-sized axis labels.