Skip to content

Commit 2d3714b

Browse files
committed
Update marker-style.md
1 parent fded25c commit 2d3714b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

doc/python/marker-style.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,10 @@ import plotly.express as px
370370
df = px.data.iris()
371371
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")
372372

373-
fig.update_traces(marker=dict(size=8,
374-
symbol='diamond',
375-
line=dict(width=2,
376-
color='DarkSlateGrey')),
377-
selector=dict(mode='markers'))
373+
fig.update_traces(
374+
marker=dict(size=8, symbol="diamond", line=dict(width=2, color="DarkSlateGrey")),
375+
selector=dict(mode="markers"),
376+
)
378377
fig.show()
379378

380379
```
@@ -392,12 +391,12 @@ import plotly.express as px
392391
df = px.data.iris()
393392
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")
394393

395-
fig.update_traces(marker=dict(size=12,
396-
symbol='arrow',
397-
angle=45,
398-
line=dict(width=2,
399-
color='DarkSlateGrey')),
400-
selector=dict(mode='markers'))
394+
fig.update_traces(
395+
marker=dict(
396+
size=12, symbol="arrow", angle=45, line=dict(width=2, color="DarkSlateGrey")
397+
),
398+
selector=dict(mode="markers"),
399+
)
401400
fig.show()
402401

403402
```

0 commit comments

Comments
 (0)