fig.add_hline(y=10)
results in a line at 10 on the y axis but only extends from 0 to 1 on the x axis. fig.add_vline(x=1000000)
results in a line at 1 million on the x axis but only extends from 0 to 1 on the y axis. Since my plot has max x values in the hundreds of billions, these lines are basically invisible (at least, until I change the axes to log scale, at which point the plot just looks strange. Screenshot of the log-scale mode below)
#2979
@nicolaskruchten The add_vline and add_hline methods are great, and I would really like to use them, but I have encountered a weird issue, where the line has a length of one.
fig.add_hline(y=10)
results in a line at 10 on the y axis but only extends from 0 to 1 on the x axis.fig.add_vline(x=1000000)
results in a line at 1 million on the x axis but only extends from 0 to 1 on the y axis. Since my plot has max x values in the hundreds of billions, these lines are basically invisible (at least, until I change the axes to log scale, at which point the plot just looks strange. Screenshot of the log-scale mode below)Originally posted by @jenna-jordan in #2141 (comment)
The text was updated successfully, but these errors were encountered: