We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 274d72e commit 08a318dCopy full SHA for 08a318d
plotly/basedatatypes.py
@@ -4218,6 +4218,22 @@ def _process_multiple_axis_spanning_shapes(
4218
exclude_empty_subplots=exclude_empty_subplots,
4219
**shape_to_add,
4220
)
4221
+ # Run legacy annotation logic
4222
+ augmented_annotation = shapeannotation.axis_spanning_shape_annotation(
4223
+ annotation,
4224
+ shape_type,
4225
+ shape_args,
4226
+ legacy_ann, # now defined
4227
+ )
4228
+
4229
+ if augmented_annotation is not None:
4230
+ self.add_annotation(
4231
+ augmented_annotation,
4232
+ row=row,
4233
+ col=col,
4234
+ exclude_empty_subplots=exclude_empty_subplots,
4235
+ yref=shape_kwargs.get("yref", "y"),
4236
4237
else:
4238
4239
# shapes are always added at the end of the tuple of shapes, so we see
0 commit comments