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(
15681568 )
15691569 )
15701570 # 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 :
15721572 if secondary_y :
15731573 xaxis = refs [1 ].layout_keys [0 ]
15741574 else :
@@ -1577,7 +1577,7 @@ def _add_annotation_like(
15771577 else :
15781578 xref = new_obj .xref
15791579 # 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 :
15811581 if secondary_y :
15821582 yaxis = refs [1 ].layout_keys [1 ]
15831583 else :
You can’t perform that action at this time.
0 commit comments