Plots.jl icon indicating copy to clipboard operation
Plots.jl copied to clipboard

[BUG] pfgplotsx cannot handle ranges of rational numbers

Open matthieugomez opened this issue 4 years ago • 0 comments

The backend pfgplotsx does not seem to work with ranges of rational numbers (but it works with vectors of rational numbers).

using Plots
pgfplotsx()
ts = range(0, 1, step = 1//10)
plot(ts, ts)
# ERROR: The latex command `lualatex jl_NQkAg4.tex` failed
plot(collect(ts), collect(ts))
# works

matthieugomez avatar Jul 21 '20 18:07 matthieugomez