-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latexstring not defined w/ savefig/pyplot #1659
Comments
Would you mind trying to explicitly |
I have it explicitly using Plots
using LaTeXStrings
pyplot()
plot(1:3)
yaxis!(:log)
savefig("test.png") still fails with the same error. I was sniffing around a bit in the code I am wondering whether Lines 387 to 397 in 2d217ed
Edit: for completeness I also tried with |
If I drop
Maybe the |
latexstring comes from the LaTeXStrings package, which is conditionally loaded by pyplot(). Fix JuliaPlots#1659.
The warning about the missing dependency is spurious and can be ignored - that's because when you change the imports of a Let's keep this open even though you made the PR, I'd like to hear @daschw 's opinion about the module to eval into once he gets back from hiking in the mountains :-) |
The problem is not only with savefig, I can't display the plot at all if using log-scale. |
What error are you getting? Is this with @mortenpi 's PR checked out? |
Same error as reported above. I must admit I have not been able to checkout the PR, I can't figure out how to do :/ |
I'd think you should be able to do |
That fixes it! Thanks a lot, I haven't figured out the new |
@mkborregaard For what it's worth, I don't think the warning is spurious -- Plots doesn't have PyCall / LaTeXStrings in its dependencies, so you should always get the warning when loading them into the |
Yes Requires should get around that. |
I am seeing the following failure on 0.7 (with Plots.jl on current
master
):Full MWE with manifest etc.
The text was updated successfully, but these errors were encountered: