File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/python/plotly/plotly Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1568,7 +1568,7 @@ def _add_annotation_like(
1568
1568
)
1569
1569
)
1570
1570
# If the new_object was created with an xref specified, the specified xref should be used otherwise assign the xref from the layout_keys
1571
- if new_obj .xref is None :
1571
+ if new_obj .xref == None :
1572
1572
if secondary_y :
1573
1573
xaxis = refs [1 ].layout_keys [0 ]
1574
1574
else :
@@ -1577,7 +1577,7 @@ def _add_annotation_like(
1577
1577
else :
1578
1578
xref = new_obj .xref
1579
1579
# If the new_object was created with an xref specified, the specified xref should be used otherwise assign the xref from the layout_keys
1580
- if new_obj .yref is None :
1580
+ if new_obj .yref == None :
1581
1581
if secondary_y :
1582
1582
yaxis = refs [1 ].layout_keys [1 ]
1583
1583
else :
You can’t perform that action at this time.
0 commit comments