Skip to content

Commit 9f06509

Browse files
committed
more comments
1 parent f92dc6e commit 9f06509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/python/plotly/plotly/tests/test_core/test_update_objects/test_update_annotations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def test_supplied_yref_on_single_plot_subplot():
360360
yaxis=dict(title="yaxis1 title"),
361361
yaxis2=dict(title="yaxis2 title", overlaying="y", side="right"),
362362
)
363-
# add horizontal line on y2. Secondary_y can be True or False
363+
# add horizontal line on y2. Secondary_y can be True or False when yref is supplied
364364
fig.add_hline(y=3, yref="y2", secondary_y=True)
365365
assert fig.layout["shapes"][0]["yref"] == "y2"
366366

@@ -375,7 +375,7 @@ def test_supplied_yref_on_non_subplot_figure_object():
375375
yaxis2=dict(title="yaxis2 title", overlaying="y", side="right"),
376376
)
377377
fig = go.Figure(data=data, layout=layout)
378-
# add horizontal line on y2. Secondary_y can be True or False
378+
# add horizontal line on y2. Secondary_y can be True or False when yref is supplied
379379
fig.add_hline(y=3, yref="y2", secondary_y=False)
380380
assert fig.layout["shapes"][0]["yref"] == "y2"
381381

0 commit comments

Comments
 (0)