Skip to content

Commit 7678812

Browse files
committed
fixed issue with annotation_text of an axis_spanning_shape being displayed on the primary y instead of the yref supplied with the axis_spanning_shape
1 parent d95d8ee commit 7678812

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/python/plotly/plotly/basedatatypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4071,6 +4071,7 @@ def _process_multiple_axis_spanning_shapes(
40714071
row=row,
40724072
col=col,
40734073
exclude_empty_subplots=exclude_empty_subplots,
4074+
yref=shape_kwargs["yref"],
40744075
)
40754076
# update xref and yref for the new shapes and annotations
40764077
for layout_obj, n_layout_objs_before in zip(

0 commit comments

Comments
 (0)