-
-
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
Shape Layer example not working for layer='between' and yref='y domain' #4645
Comments
When
When the fig consists in subplots, yref='yk domain', k=2,... it doesn't work. |
Using y1 = 1 instead of y1 = 3 for "Between" rectangle as @empet suggested did not solve this issue.
|
This is also affecting functions such as
|
I think that |
we get the definition for each vrect, but with a different
The last three parameters have default values, for this special shape. |
It seems to me this is not (only) related to
|
Hi! Since latest plotly version 5.21 a great addition has been considered by @my-tien pull #6927 being capable of specifying shape layer as 'between' which should solve issues such as presented in plotly/plotly.js#4106.
Example shown in https://plotly.com/python/shapes/ section Shape Layer works fine as it is, but it is not producing expected results when specifying yref='y domain' for the layer='between' subplot. As a mre, the following code:
Produces this unexpected figure:
The text was updated successfully, but these errors were encountered: