Why does the plot line disappear?

In the case below, plot line disappears.

using Plots
plot([1.0e9,1,1,1,1],ylim=(0.0,10))

But, in the another case below, plot line does not disappear. Everything operates normally.

plot([1,1,1,1],ylim=(0.0,10))

My version of julia is v1.11.0

1 Like

This seems to be an issue worthy of reporting to the repository.

Part of the line in the first case is outside of your ylim, so it’s not on the plot.

1 Like