JuliaPlots/Plots.jl

[BUG] pfgplotsx cannot handle ranges of rational numbers

Open

#2,871 opened on Jul 21, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (1,943 stars) (381 forks)batch import
PGFPlotsXbuggood first issuewontfix

Description

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

Contributor guide

[BUG] pfgplotsx cannot handle ranges of rational numbers · JuliaPlots/Plots.jl#2871 | Good First Issue