Skip to content

@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) #2979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gsmaio opened this issue Dec 15, 2020 · 1 comment

Comments

@gsmaio
Copy link

gsmaio commented Dec 15, 2020

@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)

Screen Shot 2020-11-12 at 1 09 55 PM

Originally posted by @jenna-jordan in #2141 (comment)

@gsmaio gsmaio closed this as completed Dec 15, 2020
@BlkPingu
Copy link

BlkPingu commented Mar 9, 2022

Why was this closed? The issue still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants