Skip to content

Commit 0e6629f

Browse files
author
“mahdis-z”
committed
minor revisions
1 parent 03a6ddc commit 0e6629f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/colorscales.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fig = go.Figure()
206206
fig.add_trace(go.Scatter(
207207
y=list(range(-5,15)),
208208
mode="markers",
209-
marker={"size": 25, "color": list(range(-10,10)), "cmid": 0}))
209+
marker={"size": 25, "color": list(range(-3,10)), "cmid": 0}))
210210

211211
fig.show()
212212
```
@@ -216,8 +216,8 @@ The heatmap chart uses [marker.zmid](https://plot.ly/python/reference/#scatter-m
216216
```python
217217
import plotly.graph_objects as go
218218

219-
a = list(range(-15,5))
220-
b = list(range(-10,10))
219+
a = list(range(-10,5))
220+
b = list(range(-5,10))
221221
c = list(range(-5,15))
222222

223223
fig = go.Figure(go.Heatmap(

0 commit comments

Comments
 (0)