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
all Strings send to GR with the above properties are rendered (or not rendered if the command is not found) as if they where TeX commands. At the moment, I am monkeypatching this with
import GR
function Plots.gr_text(x, y, s::AbstractString)
GR.text(x, y, s)
end
(This doesn't solve all problems, it still produces a "undefined symbol" warning and the position of the text gets wrong, but I think that is a GR problem)
Maybe there could be an option for the GR backend to not provide Magic math? I think of something in the lines of
import Plots
using Plots
gr(magic_math=false)
The text was updated successfully, but these errors were encountered:
I need Plots.jl to not interpret my strings as Latex, even if they have something like
10^{
or two$
signs. But due toPlots.jl/src/backends/gr.jl
Line 231 in 8ce603d
all Strings send to GR with the above properties are rendered (or not rendered if the command is not found) as if they where TeX commands. At the moment, I am monkeypatching this with
(This doesn't solve all problems, it still produces a "undefined symbol" warning and the position of the text gets wrong, but I think that is a GR problem)
Maybe there could be an option for the GR backend to not provide Magic math? I think of something in the lines of
The text was updated successfully, but these errors were encountered: