Skip to content

Commit 3611046

Browse files
committed
Update supported-colors.md
1 parent 0026a09 commit 3611046

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/python/supported-colors.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jupyter:
2727
language: python
2828
layout: base
2929
name: Supported CSS Colors
30-
order: 40
30+
order: 41
3131
page_type: example_index
3232
permalink: python/css-colors/
3333
thumbnail: thumbnail/shape.jpg
@@ -49,7 +49,7 @@ fig = go.Figure([
4949
marker_color='royalblue'
5050
)
5151
])
52-
52+
5353
fig.show()
5454
```
5555

@@ -100,15 +100,15 @@ fig = go.Figure(layout=dict(title="Supported Named CSS Colors"))
100100
for i, color in enumerate(supported_colors):
101101
row, col = i // 5, i % 5
102102
x0, y0 = col * 1.2, -row * 1.2
103-
103+
104104
fig.add_shape(
105105
type="rect",
106106
x0=x0, y0=y0,
107107
x1=x0+1, y1=y0+1,
108108
fillcolor=color,
109109
line=dict(color="black", width=0.2),
110110
)
111-
111+
112112
fig.add_annotation(
113113
x=x0+0.5, y=y0-0.1,
114114
text=color,

0 commit comments

Comments
 (0)