Skip to content

Commit

Permalink
Update marker-style.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors committed Oct 24, 2022
1 parent fded25c commit 2d3714b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions doc/python/marker-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,10 @@ import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")

fig.update_traces(marker=dict(size=8,
symbol='diamond',
line=dict(width=2,
color='DarkSlateGrey')),
selector=dict(mode='markers'))
fig.update_traces(
marker=dict(size=8, symbol="diamond", line=dict(width=2, color="DarkSlateGrey")),
selector=dict(mode="markers"),
)
fig.show()

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

fig.update_traces(marker=dict(size=12,
symbol='arrow',
angle=45,
line=dict(width=2,
color='DarkSlateGrey')),
selector=dict(mode='markers'))
fig.update_traces(
marker=dict(
size=12, symbol="arrow", angle=45, line=dict(width=2, color="DarkSlateGrey")
),
selector=dict(mode="markers"),
)
fig.show()

```
Expand Down

0 comments on commit 2d3714b

Please sign in to comment.