Skip to content

Commit 8b166bd

Browse files
committed
Update supported-colors.md
1 parent 5040be6 commit 8b166bd

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

doc/python/supported-colors.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ for i, color in enumerate(supported_colors):
106106
x0=x0, y0=y0,
107107
x1=x0+1, y1=y0+1,
108108
fillcolor=color,
109-
line=dict(color="black", width=1),
109+
line=dict(color="black", width=0.2),
110110
)
111111

112112
fig.add_annotation(
@@ -116,10 +116,8 @@ for i, color in enumerate(supported_colors):
116116
font=dict(size=10)
117117
)
118118

119-
height = ((len(supported_colors) // 5) + (1 if len(color_names) % 5 else 0)) * 120
120-
121119
fig.update_layout(
122-
height=height,
120+
height=((len(supported_colors) // 5) + (1 if len(color_names) % 5 else 0)) * 120,
123121
width=800,
124122
showlegend=False,
125123
plot_bgcolor='rgba(0,0,0,0)',
@@ -142,11 +140,3 @@ fig.update_layout(
142140

143141
fig.show()
144142
```
145-
146-
```python
147-
148-
```
149-
150-
```python
151-
152-
```

0 commit comments

Comments
 (0)