-
-
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
y-values overlap when using rangebreaks #2998
Comments
Any update on this? it seems the problem still exists. |
I'm having trouble loading the pickle file... can someone provide a simple reproducible example of this please? |
AAPL_1H.zip |
`import pandas as pd df = pd.read_pickle('AAPL_1H.pkl') fig = go.Figure(data=[go.Candlestick(x=df.index, open=df['open'], high=df['high'], low=df['low'], close=df['close'])]) fig.update_xaxes( So it seems the problem appears to be when passing the dates list, and if the date falls within the x range. |
@fjafferi Thanks for the zipfile but the problem is that I can't unpickle it :) Can you send me a CSV please? |
Ah but when uncomment the weekend exclusion I do see a problem: I've logged the issue in the underlying Javascript library as plotly/plotly.js#5783 |
I had the exact same problem and fixed it in the following way: I changed the order of the arguments that I passed to the function such as in the following example: |
I am having similar issue as well. There's two cases:
It seems the reordering of the rangebreaks arguments fixes them but only conditionally. For example for case 1:
and the following causes a bug and shows y-value overlaps:
This occurs reversely for case 2:
and the following causes a bug and shows y-value overlaps:
|
hi @jinseo99 I've updated the priority of that bug. |
picture of behavior: https://imgur.com/a/oSBgqvp
I believe the same issue is experienced by another user here: https://community.plotly.com/t/rangebreaks-with-bounds-and-values-show-overlapping-candlesticks/46067
code to reproduce this:
(example.pkl can be found on https://repl.it/join/pdmlylnv-angstscheisse )
The text was updated successfully, but these errors were encountered: