Skip to content

Commit d181aae

Browse files
committed
run codegen after color docstring was updated
1 parent 800faba commit d181aae

600 files changed

Lines changed: 7758 additions & 5172 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

plotly/graph_objs/_box.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,15 @@ def fillcolor(self):
217217
the line color, marker color, or marker line color, whichever
218218
is available.
219219
220-
The 'fillcolor' property is a color and may be specified as:
221-
- A hex string (e.g. '#ff0000')
222-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
223-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
224-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
225-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
220+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
221+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
222+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
223+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
224+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
225+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
226+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
227+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
228+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
226229
227230
Returns
228231
-------

plotly/graph_objs/_carpet.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,15 @@ def color(self):
203203
lightened by blending this with the plot background Individual
204204
pieces can override this.
205205
206-
The 'color' property is a color and may be specified as:
207-
- A hex string (e.g. '#ff0000')
208-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
209-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
210-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
211-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
206+
The 'color' property is a color and may be specified as a string in the following formats:
207+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
208+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
209+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
210+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
211+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
212+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
213+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
214+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
212215
213216
Returns
214217
-------

plotly/graph_objs/_contour.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,15 @@ def fillcolor(self):
318318
Defaults to a half-transparent variant of the line color,
319319
marker color, or marker line color, whichever is available.
320320
321-
The 'fillcolor' property is a color and may be specified as:
322-
- A hex string (e.g. '#ff0000')
323-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
324-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
325-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
326-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
321+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
322+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
323+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
324+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
325+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
326+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
327+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
328+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
329+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
327330
- A number that will be interpreted as a color
328331
according to contour.colorscale
329332

plotly/graph_objs/_contourcarpet.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,12 +417,15 @@ def fillcolor(self):
417417
Defaults to a half-transparent variant of the line color,
418418
marker color, or marker line color, whichever is available.
419419
420-
The 'fillcolor' property is a color and may be specified as:
421-
- A hex string (e.g. '#ff0000')
422-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
423-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
424-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
425-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
420+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
421+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
422+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
423+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
424+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
425+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
426+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
427+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
428+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
426429
- A number that will be interpreted as a color
427430
according to contourcarpet.colorscale
428431

plotly/graph_objs/_layout.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,12 +1357,15 @@ def paper_bgcolor(self):
13571357
Sets the background color of the paper where the graph is
13581358
drawn.
13591359
1360-
The 'paper_bgcolor' property is a color and may be specified as:
1361-
- A hex string (e.g. '#ff0000')
1362-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
1363-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
1364-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
1365-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
1360+
The 'paper_bgcolor' property is a color and may be specified as a string in the following formats:
1361+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
1362+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
1363+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
1364+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
1365+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
1366+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
1367+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
1368+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
13661369
13671370
Returns
13681371
-------
@@ -1402,12 +1405,15 @@ def plot_bgcolor(self):
14021405
Sets the background color of the plotting area in-between x and
14031406
y axes.
14041407
1405-
The 'plot_bgcolor' property is a color and may be specified as:
1406-
- A hex string (e.g. '#ff0000')
1407-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
1408-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
1409-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
1410-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
1408+
The 'plot_bgcolor' property is a color and may be specified as a string in the following formats:
1409+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
1410+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
1411+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
1412+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
1413+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
1414+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
1415+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
1416+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
14111417
14121418
Returns
14131419
-------

plotly/graph_objs/_mesh3d.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,15 @@ def color(self):
209209
"""
210210
Sets the color of the whole mesh
211211
212-
The 'color' property is a color and may be specified as:
213-
- A hex string (e.g. '#ff0000')
214-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
215-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
216-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
217-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
212+
The 'color' property is a color and may be specified as a string in the following formats:
213+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
214+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
215+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
216+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
217+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
218+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
219+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
220+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
218221
- A number that will be interpreted as a color
219222
according to mesh3d.colorscale
220223

plotly/graph_objs/_scatter.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,15 @@ def fillcolor(self):
279279
ignored except for setting the background color of the hover
280280
label, if any.
281281
282-
The 'fillcolor' property is a color and may be specified as:
283-
- A hex string (e.g. '#ff0000')
284-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
285-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
286-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
287-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
282+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
283+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
284+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
285+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
286+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
287+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
288+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
289+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
290+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
288291
289292
Returns
290293
-------

plotly/graph_objs/_scatter3d.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -628,12 +628,15 @@ def surfacecolor(self):
628628
"""
629629
Sets the surface fill color.
630630
631-
The 'surfacecolor' property is a color and may be specified as:
632-
- A hex string (e.g. '#ff0000')
633-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
634-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
635-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
636-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
631+
The 'surfacecolor' property is a color and may be specified as a string in the following formats:
632+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
633+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
634+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
635+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
636+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
637+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
638+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
639+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
637640
638641
Returns
639642
-------

plotly/graph_objs/_scattercarpet.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,15 @@ def fillcolor(self):
183183
the line color, marker color, or marker line color, whichever
184184
is available.
185185
186-
The 'fillcolor' property is a color and may be specified as:
187-
- A hex string (e.g. '#ff0000')
188-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
189-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
190-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
191-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
186+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
187+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
188+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
189+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
190+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
191+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
192+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
193+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
194+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
192195
193196
Returns
194197
-------

plotly/graph_objs/_scattergeo.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,15 @@ def fillcolor(self):
143143
the line color, marker color, or marker line color, whichever
144144
is available.
145145
146-
The 'fillcolor' property is a color and may be specified as:
147-
- A hex string (e.g. '#ff0000')
148-
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
149-
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
150-
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
151-
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
146+
The 'fillcolor' property is a color and may be specified as a string in the following formats:
147+
- hex or short hex (e.g. '#d3d3d3', '#d3d')
148+
- hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8')
149+
- rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)')
150+
- rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)')
151+
- hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)')
152+
- hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)')
153+
- hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)')
154+
- a named CSS color: see https://plotly.com/python/css-colors/ for a list
152155
153156
Returns
154157
-------

0 commit comments

Comments
 (0)