-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
fontcolor not working in GR #1853
Comments
Adding Line 341 in c26689f
gives
|
Just bumped into this issue today too. |
This issue affects all texts in Plots with GR. |
Works fine in |
This problem is fixed in GR master. |
It works for me in the GKS QT Term but not in Atom/Juno. |
The problem persists for SVGs and PNGs for GR 0.49.0 though a bit differently so I'm not sure whether I should make a separate issue but it seems like that might just be a continuation of this one. using Plots
gr()
magenta = colorant"#d33682"
Plots.plot(titlefont=font(12,"times",magenta),title="Should be magenta")
Plots.plot!(rand(10)) And here is the result. (EDIT: I had not restarted Julia so it had the wrong background). Running it anew, I don't see the #3d3d3d color in PNGs so it must be an Atom thing. But the color is still not the right one. ) |
is white if
color
is:white
or:red
and black ifcolor
is:black
,:green
or:blue
. It works fine with Plotly or PyPlot though.The text was updated successfully, but these errors were encountered: