You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/python/marker-style.md
+75-1
Original file line number
Diff line number
Diff line change
@@ -413,7 +413,6 @@ import pandas as pd
413
413
import plotly.express as px
414
414
import plotly.graph_objects as go
415
415
416
-
417
416
df = px.data.gapminder()
418
417
419
418
fig = go.Figure()
@@ -437,6 +436,81 @@ fig.show()
437
436
438
437
```
439
438
439
+
### Using Standoff to Position a Marker
440
+
441
+
*New in 5.11*
442
+
443
+
When you have multiple markers at one location, you can use `standoff` on a marker to move it away from the other marker in the direction of the `angle`.
444
+
In this example, we set `standoff=8` on the `arrow` marker, which is half the size of the other `circle` marker, meaning it points exactly at the `circle`.
0 commit comments