Skip to content

Commit e25b643

Browse files
committed
Update multiple-axes.md
1 parent 139d42c commit e25b643

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: doc/python/multiple-axes.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ fig.show()
360360
When you have multiple axes overlayed, each axis by default has its own number of ticks. You can sync the number of ticks on an axis overlayed on another axis by setting `tickmode="sync"`. In this example, we sync the ticks on the `"Total bill amount"` axis with the `"Total number of diners"` axis that it overlays.
361361

362362
```python
363-
import pandas as pd
364363
import plotly.graph_objects as go
365364
from plotly.data import tips
366365

@@ -408,7 +407,7 @@ fig.update_layout(
408407
side="right",
409408
range=[0, 2000],
410409
overlaying="y",
411-
tickmode="auto",
410+
tickmode="sync",
412411
),
413412
)
414413

0 commit comments

Comments
 (0)