Plots.jl
Plots.jl copied to clipboard
[BUG] pfgplotsx cannot handle ranges of rational numbers
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