Open kzapfe opened 8 years ago
I just tried
using PyPlot
plot(rand(10))
savefig("foo.svg")
in IJulia with Julia 0.4.3 on MacOS X, using the Matplotlib from Conda, and it works fine.
Hi stevengj, I am pretty sure the error may be on the matplotlib side. I just ran the code at my home computer and it works there, with Julia 0.4.3 and matplotlib 1.4.3. I think at the laboratory computer there is matplotlib 1.5.0. I shall put the issue over there.
Thanks!
@kzapfe, to be sure, the best thing to do would be to try it from Python (ideally with the same backend). If you still have the problem there, then it definitely can't be PyPlot.
Hello stevengj and all the gang:
This may be an issue on an update on matplotlib and not here, but I do not know for sure. I have recently created some "image" (colormaps) plots on PyPlot and saved them as svg, no problem. In the same Jupyter notebook, then, I created a more complex figure, that overlays line plots over the colormap and puts various custom labels. I can save the picture as png and eps, but not as svg. I get a very unreadable error message:
and continues for various lines on the same vein...
Okey, new detail: I cannot save any longer the simpler figures as svg also. I swear I did not "upgraded" anything in the middle...