-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
plotly.tools.make_subplots() breaks down if rows>=100 #1031
Comments
Thanks for the report @oiegorov, I think this is the same issue that was brought up in the forums here: https://community.plot.ly/t/domain-issues-with-multiple-subplots/12282/2 With plotly.py version 3 we get a more informative error (instead of the jumbled result you were seeing)
Looks like a numerical precision error. We probably just need a |
Hi @oiegorov , I just pushed out release candidates for plotly.py 3.1.1 and plotlywidget 0.2.1. Installation instructions for the release candidates are at https://github.com/plotly/plotly.py/blob/bc1d4d188ab999cd9c21e3a7908729f156bc200f/README.md. If you have a chance to confirm that this issue is resolved in the release candidate that would be awesome! |
Hi @jonmmease , It looks like the issue is still not resolved. Here is an example code:
|
Hi @Rimesh, thanks for letting us know. Could you add the error message that you're seeing? |
@Rimesh, I gave it a try and I don't see an error message, but I do see that the subplot y-axes start overlapping. If this is what you're seeing as well, could you open a new issue? I think this is a different underlying issue. Thanks! |
I'm seeing this as well, using 3.5.0 |
Seeing this as well. using 4.2.1 |
Hi @jonmmease , I am using plotly 4.5.1 and am getting this error too as i tried creating a subplot with 63 rows. it gives an error if the row is bigger than 58 rows. Here is the code: and here is the error:
Is there a way to fix this? Or is it my code that have bugs? Thanks in advance! |
I'm having this issue with Plotly Express in Plotly 4.7.1, when trying to create faceted subplots with 92 plots (at 6 per row it's 16 rows). |
@albertsugi-tallridge you're encountering bug #2556 and you can get around it by reducing your |
In Plotly Express you can now (as of version 4.9) avoid this problem by using |
For some reason all data in subplots get jumbled up if 'rows' is 100 or higher. It works fine for rows=99. Here is an example code:
If vertical_spacing is not zero and
fig['layout'].update(height=N*(200+vertical_spacing))
, it breaks down for smaller values of 'rows'.The text was updated successfully, but these errors were encountered: