From d181aae3582273ca2dfb2ba7dd52d1d974889256 Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Tue, 28 Jul 2026 12:17:44 -0400 Subject: [PATCH] run codegen after color docstring was updated --- plotly/graph_objs/_box.py | 15 +- plotly/graph_objs/_carpet.py | 15 +- plotly/graph_objs/_contour.py | 15 +- plotly/graph_objs/_contourcarpet.py | 15 +- plotly/graph_objs/_layout.py | 30 ++-- plotly/graph_objs/_mesh3d.py | 15 +- plotly/graph_objs/_scatter.py | 15 +- plotly/graph_objs/_scatter3d.py | 15 +- plotly/graph_objs/_scattercarpet.py | 15 +- plotly/graph_objs/_scattergeo.py | 15 +- plotly/graph_objs/_scattergl.py | 15 +- plotly/graph_objs/_scattermap.py | 15 +- plotly/graph_objs/_scatterpolar.py | 15 +- plotly/graph_objs/_scatterpolargl.py | 15 +- plotly/graph_objs/_scattersmith.py | 15 +- plotly/graph_objs/_scatterternary.py | 15 +- plotly/graph_objs/_violin.py | 15 +- plotly/graph_objs/bar/_error_x.py | 15 +- plotly/graph_objs/bar/_error_y.py | 15 +- plotly/graph_objs/bar/_hoverlabel.py | 30 ++-- plotly/graph_objs/bar/_insidetextfont.py | 15 +- plotly/graph_objs/bar/_marker.py | 15 +- plotly/graph_objs/bar/_outsidetextfont.py | 15 +- plotly/graph_objs/bar/_textfont.py | 15 +- plotly/graph_objs/bar/hoverlabel/_font.py | 15 +- .../graph_objs/bar/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/bar/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/bar/marker/_line.py | 15 +- plotly/graph_objs/bar/marker/_pattern.py | 30 ++-- .../bar/marker/colorbar/_tickfont.py | 15 +- .../bar/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/bar/selected/_marker.py | 15 +- plotly/graph_objs/bar/selected/_textfont.py | 15 +- plotly/graph_objs/bar/unselected/_marker.py | 15 +- plotly/graph_objs/bar/unselected/_textfont.py | 15 +- plotly/graph_objs/barpolar/_hoverlabel.py | 30 ++-- plotly/graph_objs/barpolar/_marker.py | 15 +- .../graph_objs/barpolar/hoverlabel/_font.py | 15 +- .../barpolar/legendgrouptitle/_font.py | 15 +- .../graph_objs/barpolar/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/barpolar/marker/_line.py | 15 +- plotly/graph_objs/barpolar/marker/_pattern.py | 30 ++-- .../barpolar/marker/colorbar/_tickfont.py | 15 +- .../barpolar/marker/colorbar/title/_font.py | 15 +- .../graph_objs/barpolar/selected/_marker.py | 15 +- .../graph_objs/barpolar/selected/_textfont.py | 15 +- .../graph_objs/barpolar/unselected/_marker.py | 15 +- .../barpolar/unselected/_textfont.py | 15 +- plotly/graph_objs/box/_hoverlabel.py | 30 ++-- plotly/graph_objs/box/_line.py | 15 +- plotly/graph_objs/box/_marker.py | 30 ++-- plotly/graph_objs/box/hoverlabel/_font.py | 15 +- .../graph_objs/box/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/box/marker/_line.py | 30 ++-- plotly/graph_objs/box/selected/_marker.py | 15 +- plotly/graph_objs/box/unselected/_marker.py | 15 +- plotly/graph_objs/candlestick/_decreasing.py | 15 +- plotly/graph_objs/candlestick/_hoverlabel.py | 30 ++-- plotly/graph_objs/candlestick/_increasing.py | 15 +- .../candlestick/decreasing/_line.py | 15 +- .../candlestick/hoverlabel/_font.py | 15 +- .../candlestick/increasing/_line.py | 15 +- .../candlestick/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/carpet/_aaxis.py | 90 +++++++----- plotly/graph_objs/carpet/_baxis.py | 90 +++++++----- plotly/graph_objs/carpet/_font.py | 15 +- plotly/graph_objs/carpet/aaxis/_tickfont.py | 15 +- plotly/graph_objs/carpet/aaxis/title/_font.py | 15 +- plotly/graph_objs/carpet/baxis/_tickfont.py | 15 +- plotly/graph_objs/carpet/baxis/title/_font.py | 15 +- .../carpet/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/choropleth/_colorbar.py | 60 ++++---- plotly/graph_objs/choropleth/_hoverlabel.py | 30 ++-- .../choropleth/colorbar/_tickfont.py | 15 +- .../choropleth/colorbar/title/_font.py | 15 +- .../graph_objs/choropleth/hoverlabel/_font.py | 15 +- .../choropleth/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/choropleth/marker/_line.py | 15 +- plotly/graph_objs/choroplethmap/_colorbar.py | 60 ++++---- .../graph_objs/choroplethmap/_hoverlabel.py | 30 ++-- .../choroplethmap/colorbar/_tickfont.py | 15 +- .../choroplethmap/colorbar/title/_font.py | 15 +- .../choroplethmap/hoverlabel/_font.py | 15 +- .../choroplethmap/legendgrouptitle/_font.py | 15 +- .../graph_objs/choroplethmap/marker/_line.py | 15 +- plotly/graph_objs/cone/_colorbar.py | 60 ++++---- plotly/graph_objs/cone/_hoverlabel.py | 30 ++-- plotly/graph_objs/cone/colorbar/_tickfont.py | 15 +- .../graph_objs/cone/colorbar/title/_font.py | 15 +- plotly/graph_objs/cone/hoverlabel/_font.py | 15 +- .../graph_objs/cone/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/contour/_colorbar.py | 60 ++++---- plotly/graph_objs/contour/_hoverlabel.py | 30 ++-- plotly/graph_objs/contour/_line.py | 15 +- plotly/graph_objs/contour/_textfont.py | 15 +- .../graph_objs/contour/colorbar/_tickfont.py | 15 +- .../contour/colorbar/title/_font.py | 15 +- .../graph_objs/contour/contours/_labelfont.py | 15 +- plotly/graph_objs/contour/hoverlabel/_font.py | 15 +- .../contour/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/contourcarpet/_colorbar.py | 60 ++++---- plotly/graph_objs/contourcarpet/_line.py | 15 +- .../contourcarpet/colorbar/_tickfont.py | 15 +- .../contourcarpet/colorbar/title/_font.py | 15 +- .../contourcarpet/contours/_labelfont.py | 15 +- .../contourcarpet/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/densitymap/_colorbar.py | 60 ++++---- plotly/graph_objs/densitymap/_hoverlabel.py | 30 ++-- .../densitymap/colorbar/_tickfont.py | 15 +- .../densitymap/colorbar/title/_font.py | 15 +- .../graph_objs/densitymap/hoverlabel/_font.py | 15 +- .../densitymap/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/funnel/_connector.py | 15 +- plotly/graph_objs/funnel/_hoverlabel.py | 30 ++-- plotly/graph_objs/funnel/_insidetextfont.py | 15 +- plotly/graph_objs/funnel/_marker.py | 15 +- plotly/graph_objs/funnel/_outsidetextfont.py | 15 +- plotly/graph_objs/funnel/_textfont.py | 15 +- plotly/graph_objs/funnel/connector/_line.py | 15 +- plotly/graph_objs/funnel/hoverlabel/_font.py | 15 +- .../funnel/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/funnel/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/funnel/marker/_line.py | 15 +- .../funnel/marker/colorbar/_tickfont.py | 15 +- .../funnel/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/funnelarea/_hoverlabel.py | 30 ++-- .../graph_objs/funnelarea/_insidetextfont.py | 15 +- plotly/graph_objs/funnelarea/_textfont.py | 15 +- .../graph_objs/funnelarea/hoverlabel/_font.py | 15 +- .../funnelarea/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/funnelarea/marker/_line.py | 15 +- .../graph_objs/funnelarea/marker/_pattern.py | 30 ++-- plotly/graph_objs/funnelarea/title/_font.py | 15 +- plotly/graph_objs/heatmap/_colorbar.py | 60 ++++---- plotly/graph_objs/heatmap/_hoverlabel.py | 30 ++-- plotly/graph_objs/heatmap/_textfont.py | 15 +- .../graph_objs/heatmap/colorbar/_tickfont.py | 15 +- .../heatmap/colorbar/title/_font.py | 15 +- plotly/graph_objs/heatmap/hoverlabel/_font.py | 15 +- .../heatmap/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/histogram/_error_x.py | 15 +- plotly/graph_objs/histogram/_error_y.py | 15 +- plotly/graph_objs/histogram/_hoverlabel.py | 30 ++-- .../graph_objs/histogram/_insidetextfont.py | 15 +- plotly/graph_objs/histogram/_marker.py | 15 +- .../graph_objs/histogram/_outsidetextfont.py | 15 +- plotly/graph_objs/histogram/_textfont.py | 15 +- .../graph_objs/histogram/hoverlabel/_font.py | 15 +- .../histogram/legendgrouptitle/_font.py | 15 +- .../graph_objs/histogram/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/histogram/marker/_line.py | 15 +- .../graph_objs/histogram/marker/_pattern.py | 30 ++-- .../histogram/marker/colorbar/_tickfont.py | 15 +- .../histogram/marker/colorbar/title/_font.py | 15 +- .../graph_objs/histogram/selected/_marker.py | 15 +- .../histogram/selected/_textfont.py | 15 +- .../histogram/unselected/_marker.py | 15 +- .../histogram/unselected/_textfont.py | 15 +- plotly/graph_objs/histogram2d/_colorbar.py | 60 ++++---- plotly/graph_objs/histogram2d/_hoverlabel.py | 30 ++-- plotly/graph_objs/histogram2d/_textfont.py | 15 +- .../histogram2d/colorbar/_tickfont.py | 15 +- .../histogram2d/colorbar/title/_font.py | 15 +- .../histogram2d/hoverlabel/_font.py | 15 +- .../histogram2d/legendgrouptitle/_font.py | 15 +- .../histogram2dcontour/_colorbar.py | 60 ++++---- .../histogram2dcontour/_hoverlabel.py | 30 ++-- plotly/graph_objs/histogram2dcontour/_line.py | 15 +- .../histogram2dcontour/_textfont.py | 15 +- .../histogram2dcontour/colorbar/_tickfont.py | 15 +- .../colorbar/title/_font.py | 15 +- .../histogram2dcontour/contours/_labelfont.py | 15 +- .../histogram2dcontour/hoverlabel/_font.py | 15 +- .../legendgrouptitle/_font.py | 15 +- plotly/graph_objs/icicle/_hoverlabel.py | 30 ++-- plotly/graph_objs/icicle/_insidetextfont.py | 15 +- plotly/graph_objs/icicle/_outsidetextfont.py | 15 +- plotly/graph_objs/icicle/_root.py | 15 +- plotly/graph_objs/icicle/_textfont.py | 15 +- plotly/graph_objs/icicle/hoverlabel/_font.py | 15 +- .../icicle/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/icicle/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/icicle/marker/_line.py | 15 +- plotly/graph_objs/icicle/marker/_pattern.py | 30 ++-- .../icicle/marker/colorbar/_tickfont.py | 15 +- .../icicle/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/icicle/pathbar/_textfont.py | 15 +- plotly/graph_objs/image/_hoverlabel.py | 30 ++-- plotly/graph_objs/image/hoverlabel/_font.py | 15 +- .../image/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/indicator/_gauge.py | 30 ++-- .../graph_objs/indicator/delta/_decreasing.py | 15 +- plotly/graph_objs/indicator/delta/_font.py | 15 +- .../graph_objs/indicator/delta/_increasing.py | 15 +- plotly/graph_objs/indicator/gauge/_axis.py | 15 +- plotly/graph_objs/indicator/gauge/_bar.py | 15 +- plotly/graph_objs/indicator/gauge/_step.py | 15 +- .../indicator/gauge/axis/_tickfont.py | 15 +- .../graph_objs/indicator/gauge/bar/_line.py | 15 +- .../graph_objs/indicator/gauge/step/_line.py | 15 +- .../indicator/gauge/threshold/_line.py | 15 +- .../indicator/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/indicator/number/_font.py | 15 +- plotly/graph_objs/indicator/title/_font.py | 15 +- plotly/graph_objs/isosurface/_colorbar.py | 60 ++++---- plotly/graph_objs/isosurface/_contour.py | 15 +- plotly/graph_objs/isosurface/_hoverlabel.py | 30 ++-- .../isosurface/colorbar/_tickfont.py | 15 +- .../isosurface/colorbar/title/_font.py | 15 +- .../graph_objs/isosurface/hoverlabel/_font.py | 15 +- .../isosurface/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/layout/_activeselection.py | 15 +- plotly/graph_objs/layout/_activeshape.py | 15 +- plotly/graph_objs/layout/_annotation.py | 45 +++--- plotly/graph_objs/layout/_font.py | 15 +- plotly/graph_objs/layout/_geo.py | 135 +++++++++++------- plotly/graph_objs/layout/_hoverlabel.py | 30 ++-- plotly/graph_objs/layout/_legend.py | 30 ++-- plotly/graph_objs/layout/_modebar.py | 45 +++--- plotly/graph_objs/layout/_newshape.py | 15 +- plotly/graph_objs/layout/_polar.py | 15 +- plotly/graph_objs/layout/_scene.py | 15 +- plotly/graph_objs/layout/_shape.py | 15 +- plotly/graph_objs/layout/_slider.py | 60 ++++---- plotly/graph_objs/layout/_smith.py | 15 +- plotly/graph_objs/layout/_ternary.py | 15 +- plotly/graph_objs/layout/_updatemenu.py | 30 ++-- plotly/graph_objs/layout/_xaxis.py | 105 ++++++++------ plotly/graph_objs/layout/_yaxis.py | 105 ++++++++------ plotly/graph_objs/layout/annotation/_font.py | 15 +- .../layout/annotation/_hoverlabel.py | 30 ++-- .../layout/annotation/hoverlabel/_font.py | 15 +- .../graph_objs/layout/coloraxis/_colorbar.py | 60 ++++---- .../layout/coloraxis/colorbar/_tickfont.py | 15 +- .../layout/coloraxis/colorbar/title/_font.py | 15 +- plotly/graph_objs/layout/geo/_lataxis.py | 15 +- plotly/graph_objs/layout/geo/_lonaxis.py | 15 +- plotly/graph_objs/layout/hoverlabel/_font.py | 15 +- .../layout/hoverlabel/_grouptitlefont.py | 15 +- plotly/graph_objs/layout/legend/_font.py | 15 +- .../layout/legend/_grouptitlefont.py | 15 +- .../graph_objs/layout/legend/title/_font.py | 15 +- plotly/graph_objs/layout/map/_layer.py | 15 +- plotly/graph_objs/layout/map/layer/_fill.py | 15 +- .../layout/map/layer/symbol/_textfont.py | 15 +- .../graph_objs/layout/newselection/_line.py | 15 +- plotly/graph_objs/layout/newshape/_line.py | 15 +- .../graph_objs/layout/newshape/label/_font.py | 15 +- .../layout/newshape/legendgrouptitle/_font.py | 15 +- .../graph_objs/layout/polar/_angularaxis.py | 60 ++++---- plotly/graph_objs/layout/polar/_radialaxis.py | 60 ++++---- .../layout/polar/angularaxis/_tickfont.py | 15 +- .../layout/polar/radialaxis/_tickfont.py | 15 +- .../layout/polar/radialaxis/title/_font.py | 15 +- plotly/graph_objs/layout/scene/_annotation.py | 45 +++--- plotly/graph_objs/layout/scene/_xaxis.py | 105 ++++++++------ plotly/graph_objs/layout/scene/_yaxis.py | 105 ++++++++------ plotly/graph_objs/layout/scene/_zaxis.py | 105 ++++++++------ .../layout/scene/annotation/_font.py | 15 +- .../layout/scene/annotation/_hoverlabel.py | 30 ++-- .../scene/annotation/hoverlabel/_font.py | 15 +- .../layout/scene/xaxis/_tickfont.py | 15 +- .../layout/scene/xaxis/title/_font.py | 15 +- .../layout/scene/yaxis/_tickfont.py | 15 +- .../layout/scene/yaxis/title/_font.py | 15 +- .../layout/scene/zaxis/_tickfont.py | 15 +- .../layout/scene/zaxis/title/_font.py | 15 +- plotly/graph_objs/layout/selection/_line.py | 15 +- plotly/graph_objs/layout/shape/_line.py | 15 +- plotly/graph_objs/layout/shape/label/_font.py | 15 +- .../layout/shape/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/layout/slider/_font.py | 15 +- .../layout/slider/currentvalue/_font.py | 15 +- .../graph_objs/layout/smith/_imaginaryaxis.py | 60 ++++---- plotly/graph_objs/layout/smith/_realaxis.py | 60 ++++---- .../layout/smith/imaginaryaxis/_tickfont.py | 15 +- .../layout/smith/realaxis/_tickfont.py | 15 +- plotly/graph_objs/layout/ternary/_aaxis.py | 60 ++++---- plotly/graph_objs/layout/ternary/_baxis.py | 60 ++++---- plotly/graph_objs/layout/ternary/_caxis.py | 60 ++++---- .../layout/ternary/aaxis/_tickfont.py | 15 +- .../layout/ternary/aaxis/title/_font.py | 15 +- .../layout/ternary/baxis/_tickfont.py | 15 +- .../layout/ternary/baxis/title/_font.py | 15 +- .../layout/ternary/caxis/_tickfont.py | 15 +- .../layout/ternary/caxis/title/_font.py | 15 +- plotly/graph_objs/layout/title/_font.py | 15 +- .../graph_objs/layout/title/subtitle/_font.py | 15 +- plotly/graph_objs/layout/updatemenu/_font.py | 15 +- plotly/graph_objs/layout/xaxis/_minor.py | 30 ++-- .../graph_objs/layout/xaxis/_rangeselector.py | 45 +++--- .../graph_objs/layout/xaxis/_rangeslider.py | 30 ++-- plotly/graph_objs/layout/xaxis/_tickfont.py | 15 +- .../layout/xaxis/rangeselector/_font.py | 15 +- plotly/graph_objs/layout/xaxis/title/_font.py | 15 +- plotly/graph_objs/layout/yaxis/_minor.py | 30 ++-- plotly/graph_objs/layout/yaxis/_tickfont.py | 15 +- plotly/graph_objs/layout/yaxis/title/_font.py | 15 +- plotly/graph_objs/mesh3d/_colorbar.py | 60 ++++---- plotly/graph_objs/mesh3d/_contour.py | 15 +- plotly/graph_objs/mesh3d/_hoverlabel.py | 30 ++-- .../graph_objs/mesh3d/colorbar/_tickfont.py | 15 +- .../graph_objs/mesh3d/colorbar/title/_font.py | 15 +- plotly/graph_objs/mesh3d/hoverlabel/_font.py | 15 +- .../mesh3d/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/ohlc/_hoverlabel.py | 30 ++-- plotly/graph_objs/ohlc/decreasing/_line.py | 15 +- plotly/graph_objs/ohlc/hoverlabel/_font.py | 15 +- plotly/graph_objs/ohlc/increasing/_line.py | 15 +- .../graph_objs/ohlc/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/parcats/_labelfont.py | 15 +- plotly/graph_objs/parcats/_line.py | 15 +- plotly/graph_objs/parcats/_tickfont.py | 15 +- .../parcats/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/parcats/line/_colorbar.py | 60 ++++---- .../parcats/line/colorbar/_tickfont.py | 15 +- .../parcats/line/colorbar/title/_font.py | 15 +- plotly/graph_objs/parcoords/_labelfont.py | 15 +- plotly/graph_objs/parcoords/_line.py | 15 +- plotly/graph_objs/parcoords/_rangefont.py | 15 +- plotly/graph_objs/parcoords/_tickfont.py | 15 +- .../parcoords/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/parcoords/line/_colorbar.py | 60 ++++---- .../parcoords/line/colorbar/_tickfont.py | 15 +- .../parcoords/line/colorbar/title/_font.py | 15 +- .../graph_objs/parcoords/unselected/_line.py | 15 +- plotly/graph_objs/pie/_hoverlabel.py | 30 ++-- plotly/graph_objs/pie/_insidetextfont.py | 15 +- plotly/graph_objs/pie/_outsidetextfont.py | 15 +- plotly/graph_objs/pie/_textfont.py | 15 +- plotly/graph_objs/pie/hoverlabel/_font.py | 15 +- .../graph_objs/pie/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/pie/marker/_line.py | 15 +- plotly/graph_objs/pie/marker/_pattern.py | 30 ++-- plotly/graph_objs/pie/title/_font.py | 15 +- plotly/graph_objs/quiver/_hoverlabel.py | 30 ++-- plotly/graph_objs/quiver/_marker.py | 15 +- plotly/graph_objs/quiver/_textfont.py | 15 +- plotly/graph_objs/quiver/hoverlabel/_font.py | 15 +- .../quiver/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/quiver/marker/_colorbar.py | 60 ++++---- .../quiver/marker/colorbar/_tickfont.py | 15 +- .../quiver/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/quiver/selected/_marker.py | 15 +- .../graph_objs/quiver/selected/_textfont.py | 15 +- .../graph_objs/quiver/unselected/_marker.py | 15 +- .../graph_objs/quiver/unselected/_textfont.py | 15 +- plotly/graph_objs/sankey/_hoverlabel.py | 30 ++-- plotly/graph_objs/sankey/_link.py | 30 ++-- plotly/graph_objs/sankey/_node.py | 15 +- plotly/graph_objs/sankey/_textfont.py | 15 +- plotly/graph_objs/sankey/hoverlabel/_font.py | 15 +- .../sankey/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/sankey/link/_hoverlabel.py | 30 ++-- plotly/graph_objs/sankey/link/_line.py | 15 +- .../sankey/link/hoverlabel/_font.py | 15 +- plotly/graph_objs/sankey/node/_hoverlabel.py | 30 ++-- plotly/graph_objs/sankey/node/_line.py | 15 +- .../sankey/node/hoverlabel/_font.py | 15 +- plotly/graph_objs/scatter/_error_x.py | 15 +- plotly/graph_objs/scatter/_error_y.py | 15 +- plotly/graph_objs/scatter/_fillpattern.py | 30 ++-- plotly/graph_objs/scatter/_hoverlabel.py | 30 ++-- plotly/graph_objs/scatter/_line.py | 15 +- plotly/graph_objs/scatter/_marker.py | 15 +- plotly/graph_objs/scatter/_textfont.py | 15 +- plotly/graph_objs/scatter/hoverlabel/_font.py | 15 +- .../scatter/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/scatter/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/scatter/marker/_gradient.py | 15 +- plotly/graph_objs/scatter/marker/_line.py | 15 +- .../scatter/marker/colorbar/_tickfont.py | 15 +- .../scatter/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/scatter/selected/_marker.py | 15 +- .../graph_objs/scatter/selected/_textfont.py | 15 +- .../graph_objs/scatter/unselected/_marker.py | 15 +- .../scatter/unselected/_textfont.py | 15 +- plotly/graph_objs/scatter3d/_error_x.py | 15 +- plotly/graph_objs/scatter3d/_error_y.py | 15 +- plotly/graph_objs/scatter3d/_error_z.py | 15 +- plotly/graph_objs/scatter3d/_hoverlabel.py | 30 ++-- plotly/graph_objs/scatter3d/_line.py | 15 +- plotly/graph_objs/scatter3d/_marker.py | 15 +- plotly/graph_objs/scatter3d/_textfont.py | 15 +- .../graph_objs/scatter3d/hoverlabel/_font.py | 15 +- .../scatter3d/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/scatter3d/line/_colorbar.py | 60 ++++---- .../scatter3d/line/colorbar/_tickfont.py | 15 +- .../scatter3d/line/colorbar/title/_font.py | 15 +- .../graph_objs/scatter3d/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/scatter3d/marker/_line.py | 15 +- .../scatter3d/marker/colorbar/_tickfont.py | 15 +- .../scatter3d/marker/colorbar/title/_font.py | 15 +- .../graph_objs/scattercarpet/_hoverlabel.py | 30 ++-- plotly/graph_objs/scattercarpet/_line.py | 15 +- plotly/graph_objs/scattercarpet/_marker.py | 15 +- plotly/graph_objs/scattercarpet/_textfont.py | 15 +- .../scattercarpet/hoverlabel/_font.py | 15 +- .../scattercarpet/legendgrouptitle/_font.py | 15 +- .../scattercarpet/marker/_colorbar.py | 60 ++++---- .../scattercarpet/marker/_gradient.py | 15 +- .../graph_objs/scattercarpet/marker/_line.py | 15 +- .../marker/colorbar/_tickfont.py | 15 +- .../marker/colorbar/title/_font.py | 15 +- .../scattercarpet/selected/_marker.py | 15 +- .../scattercarpet/selected/_textfont.py | 15 +- .../scattercarpet/unselected/_marker.py | 15 +- .../scattercarpet/unselected/_textfont.py | 15 +- plotly/graph_objs/scattergeo/_hoverlabel.py | 30 ++-- plotly/graph_objs/scattergeo/_line.py | 15 +- plotly/graph_objs/scattergeo/_marker.py | 15 +- plotly/graph_objs/scattergeo/_textfont.py | 15 +- .../graph_objs/scattergeo/hoverlabel/_font.py | 15 +- .../scattergeo/legendgrouptitle/_font.py | 15 +- .../graph_objs/scattergeo/marker/_colorbar.py | 60 ++++---- .../graph_objs/scattergeo/marker/_gradient.py | 15 +- plotly/graph_objs/scattergeo/marker/_line.py | 15 +- .../scattergeo/marker/colorbar/_tickfont.py | 15 +- .../scattergeo/marker/colorbar/title/_font.py | 15 +- .../graph_objs/scattergeo/selected/_marker.py | 15 +- .../scattergeo/selected/_textfont.py | 15 +- .../scattergeo/unselected/_marker.py | 15 +- .../scattergeo/unselected/_textfont.py | 15 +- plotly/graph_objs/scattergl/_error_x.py | 15 +- plotly/graph_objs/scattergl/_error_y.py | 15 +- plotly/graph_objs/scattergl/_hoverlabel.py | 30 ++-- plotly/graph_objs/scattergl/_line.py | 15 +- plotly/graph_objs/scattergl/_marker.py | 15 +- plotly/graph_objs/scattergl/_textfont.py | 15 +- .../graph_objs/scattergl/hoverlabel/_font.py | 15 +- .../scattergl/legendgrouptitle/_font.py | 15 +- .../graph_objs/scattergl/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/scattergl/marker/_line.py | 15 +- .../scattergl/marker/colorbar/_tickfont.py | 15 +- .../scattergl/marker/colorbar/title/_font.py | 15 +- .../graph_objs/scattergl/selected/_marker.py | 15 +- .../scattergl/selected/_textfont.py | 15 +- .../scattergl/unselected/_marker.py | 15 +- .../scattergl/unselected/_textfont.py | 15 +- plotly/graph_objs/scattermap/_cluster.py | 15 +- plotly/graph_objs/scattermap/_hoverlabel.py | 30 ++-- plotly/graph_objs/scattermap/_line.py | 15 +- plotly/graph_objs/scattermap/_marker.py | 15 +- plotly/graph_objs/scattermap/_textfont.py | 15 +- .../graph_objs/scattermap/hoverlabel/_font.py | 15 +- .../scattermap/legendgrouptitle/_font.py | 15 +- .../graph_objs/scattermap/marker/_colorbar.py | 60 ++++---- .../scattermap/marker/colorbar/_tickfont.py | 15 +- .../scattermap/marker/colorbar/title/_font.py | 15 +- .../graph_objs/scattermap/selected/_marker.py | 15 +- .../scattermap/unselected/_marker.py | 15 +- plotly/graph_objs/scatterpolar/_hoverlabel.py | 30 ++-- plotly/graph_objs/scatterpolar/_line.py | 15 +- plotly/graph_objs/scatterpolar/_marker.py | 15 +- plotly/graph_objs/scatterpolar/_textfont.py | 15 +- .../scatterpolar/hoverlabel/_font.py | 15 +- .../scatterpolar/legendgrouptitle/_font.py | 15 +- .../scatterpolar/marker/_colorbar.py | 60 ++++---- .../scatterpolar/marker/_gradient.py | 15 +- .../graph_objs/scatterpolar/marker/_line.py | 15 +- .../scatterpolar/marker/colorbar/_tickfont.py | 15 +- .../marker/colorbar/title/_font.py | 15 +- .../scatterpolar/selected/_marker.py | 15 +- .../scatterpolar/selected/_textfont.py | 15 +- .../scatterpolar/unselected/_marker.py | 15 +- .../scatterpolar/unselected/_textfont.py | 15 +- .../graph_objs/scatterpolargl/_hoverlabel.py | 30 ++-- plotly/graph_objs/scatterpolargl/_line.py | 15 +- plotly/graph_objs/scatterpolargl/_marker.py | 15 +- plotly/graph_objs/scatterpolargl/_textfont.py | 15 +- .../scatterpolargl/hoverlabel/_font.py | 15 +- .../scatterpolargl/legendgrouptitle/_font.py | 15 +- .../scatterpolargl/marker/_colorbar.py | 60 ++++---- .../graph_objs/scatterpolargl/marker/_line.py | 15 +- .../marker/colorbar/_tickfont.py | 15 +- .../marker/colorbar/title/_font.py | 15 +- .../scatterpolargl/selected/_marker.py | 15 +- .../scatterpolargl/selected/_textfont.py | 15 +- .../scatterpolargl/unselected/_marker.py | 15 +- .../scatterpolargl/unselected/_textfont.py | 15 +- plotly/graph_objs/scattersmith/_hoverlabel.py | 30 ++-- plotly/graph_objs/scattersmith/_line.py | 15 +- plotly/graph_objs/scattersmith/_marker.py | 15 +- plotly/graph_objs/scattersmith/_textfont.py | 15 +- .../scattersmith/hoverlabel/_font.py | 15 +- .../scattersmith/legendgrouptitle/_font.py | 15 +- .../scattersmith/marker/_colorbar.py | 60 ++++---- .../scattersmith/marker/_gradient.py | 15 +- .../graph_objs/scattersmith/marker/_line.py | 15 +- .../scattersmith/marker/colorbar/_tickfont.py | 15 +- .../marker/colorbar/title/_font.py | 15 +- .../scattersmith/selected/_marker.py | 15 +- .../scattersmith/selected/_textfont.py | 15 +- .../scattersmith/unselected/_marker.py | 15 +- .../scattersmith/unselected/_textfont.py | 15 +- .../graph_objs/scatterternary/_hoverlabel.py | 30 ++-- plotly/graph_objs/scatterternary/_line.py | 15 +- plotly/graph_objs/scatterternary/_marker.py | 15 +- plotly/graph_objs/scatterternary/_textfont.py | 15 +- .../scatterternary/hoverlabel/_font.py | 15 +- .../scatterternary/legendgrouptitle/_font.py | 15 +- .../scatterternary/marker/_colorbar.py | 60 ++++---- .../scatterternary/marker/_gradient.py | 15 +- .../graph_objs/scatterternary/marker/_line.py | 15 +- .../marker/colorbar/_tickfont.py | 15 +- .../marker/colorbar/title/_font.py | 15 +- .../scatterternary/selected/_marker.py | 15 +- .../scatterternary/selected/_textfont.py | 15 +- .../scatterternary/unselected/_marker.py | 15 +- .../scatterternary/unselected/_textfont.py | 15 +- plotly/graph_objs/splom/_hoverlabel.py | 30 ++-- plotly/graph_objs/splom/_marker.py | 15 +- plotly/graph_objs/splom/hoverlabel/_font.py | 15 +- .../splom/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/splom/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/splom/marker/_line.py | 15 +- .../splom/marker/colorbar/_tickfont.py | 15 +- .../splom/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/splom/selected/_marker.py | 15 +- plotly/graph_objs/splom/unselected/_marker.py | 15 +- plotly/graph_objs/streamtube/_colorbar.py | 60 ++++---- plotly/graph_objs/streamtube/_hoverlabel.py | 30 ++-- .../streamtube/colorbar/_tickfont.py | 15 +- .../streamtube/colorbar/title/_font.py | 15 +- .../graph_objs/streamtube/hoverlabel/_font.py | 15 +- .../streamtube/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/sunburst/_hoverlabel.py | 30 ++-- plotly/graph_objs/sunburst/_insidetextfont.py | 15 +- .../graph_objs/sunburst/_outsidetextfont.py | 15 +- plotly/graph_objs/sunburst/_root.py | 15 +- plotly/graph_objs/sunburst/_textfont.py | 15 +- .../graph_objs/sunburst/hoverlabel/_font.py | 15 +- .../sunburst/legendgrouptitle/_font.py | 15 +- .../graph_objs/sunburst/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/sunburst/marker/_line.py | 15 +- plotly/graph_objs/sunburst/marker/_pattern.py | 30 ++-- .../sunburst/marker/colorbar/_tickfont.py | 15 +- .../sunburst/marker/colorbar/title/_font.py | 15 +- plotly/graph_objs/surface/_colorbar.py | 60 ++++---- plotly/graph_objs/surface/_hoverlabel.py | 30 ++-- .../graph_objs/surface/colorbar/_tickfont.py | 15 +- .../surface/colorbar/title/_font.py | 15 +- plotly/graph_objs/surface/contours/_x.py | 30 ++-- plotly/graph_objs/surface/contours/_y.py | 30 ++-- plotly/graph_objs/surface/contours/_z.py | 30 ++-- plotly/graph_objs/surface/hoverlabel/_font.py | 15 +- .../surface/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/table/_hoverlabel.py | 30 ++-- plotly/graph_objs/table/cells/_fill.py | 15 +- plotly/graph_objs/table/cells/_font.py | 15 +- plotly/graph_objs/table/cells/_line.py | 15 +- plotly/graph_objs/table/header/_fill.py | 15 +- plotly/graph_objs/table/header/_font.py | 15 +- plotly/graph_objs/table/header/_line.py | 15 +- plotly/graph_objs/table/hoverlabel/_font.py | 15 +- .../table/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/treemap/_hoverlabel.py | 30 ++-- plotly/graph_objs/treemap/_insidetextfont.py | 15 +- plotly/graph_objs/treemap/_outsidetextfont.py | 15 +- plotly/graph_objs/treemap/_root.py | 15 +- plotly/graph_objs/treemap/_textfont.py | 15 +- plotly/graph_objs/treemap/hoverlabel/_font.py | 15 +- .../treemap/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/treemap/marker/_colorbar.py | 60 ++++---- plotly/graph_objs/treemap/marker/_line.py | 15 +- plotly/graph_objs/treemap/marker/_pattern.py | 30 ++-- .../treemap/marker/colorbar/_tickfont.py | 15 +- .../treemap/marker/colorbar/title/_font.py | 15 +- .../graph_objs/treemap/pathbar/_textfont.py | 15 +- plotly/graph_objs/violin/_box.py | 15 +- plotly/graph_objs/violin/_hoverlabel.py | 30 ++-- plotly/graph_objs/violin/_line.py | 15 +- plotly/graph_objs/violin/_marker.py | 30 ++-- plotly/graph_objs/violin/_meanline.py | 15 +- plotly/graph_objs/violin/box/_line.py | 15 +- plotly/graph_objs/violin/hoverlabel/_font.py | 15 +- .../violin/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/violin/marker/_line.py | 30 ++-- plotly/graph_objs/violin/selected/_marker.py | 15 +- .../graph_objs/violin/unselected/_marker.py | 15 +- plotly/graph_objs/volume/_colorbar.py | 60 ++++---- plotly/graph_objs/volume/_contour.py | 15 +- plotly/graph_objs/volume/_hoverlabel.py | 30 ++-- .../graph_objs/volume/colorbar/_tickfont.py | 15 +- .../graph_objs/volume/colorbar/title/_font.py | 15 +- plotly/graph_objs/volume/hoverlabel/_font.py | 15 +- .../volume/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/waterfall/_hoverlabel.py | 30 ++-- .../graph_objs/waterfall/_insidetextfont.py | 15 +- .../graph_objs/waterfall/_outsidetextfont.py | 15 +- plotly/graph_objs/waterfall/_textfont.py | 15 +- .../graph_objs/waterfall/connector/_line.py | 15 +- .../waterfall/decreasing/_marker.py | 15 +- .../waterfall/decreasing/marker/_line.py | 15 +- .../graph_objs/waterfall/hoverlabel/_font.py | 15 +- .../waterfall/increasing/_marker.py | 15 +- .../waterfall/increasing/marker/_line.py | 15 +- .../waterfall/legendgrouptitle/_font.py | 15 +- plotly/graph_objs/waterfall/totals/_marker.py | 15 +- .../waterfall/totals/marker/_line.py | 15 +- 600 files changed, 7758 insertions(+), 5172 deletions(-) diff --git a/plotly/graph_objs/_box.py b/plotly/graph_objs/_box.py index 0dd7727d401..06c2e28e0a1 100644 --- a/plotly/graph_objs/_box.py +++ b/plotly/graph_objs/_box.py @@ -217,12 +217,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_carpet.py b/plotly/graph_objs/_carpet.py index 617c34ab9e1..cc79584aa40 100644 --- a/plotly/graph_objs/_carpet.py +++ b/plotly/graph_objs/_carpet.py @@ -203,12 +203,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_contour.py b/plotly/graph_objs/_contour.py index 98e428f1201..b387db2ddd3 100644 --- a/plotly/graph_objs/_contour.py +++ b/plotly/graph_objs/_contour.py @@ -318,12 +318,15 @@ def fillcolor(self): Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to contour.colorscale diff --git a/plotly/graph_objs/_contourcarpet.py b/plotly/graph_objs/_contourcarpet.py index 91f6866dd91..ffc12c3b457 100644 --- a/plotly/graph_objs/_contourcarpet.py +++ b/plotly/graph_objs/_contourcarpet.py @@ -417,12 +417,15 @@ def fillcolor(self): Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to contourcarpet.colorscale diff --git a/plotly/graph_objs/_layout.py b/plotly/graph_objs/_layout.py index 631bbd6d385..124ff58e3dc 100644 --- a/plotly/graph_objs/_layout.py +++ b/plotly/graph_objs/_layout.py @@ -1357,12 +1357,15 @@ def paper_bgcolor(self): Sets the background color of the paper where the graph is drawn. - The 'paper_bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'paper_bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1402,12 +1405,15 @@ def plot_bgcolor(self): Sets the background color of the plotting area in-between x and y axes. - The 'plot_bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'plot_bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_mesh3d.py b/plotly/graph_objs/_mesh3d.py index 6b207443fc0..4ccf5f56484 100644 --- a/plotly/graph_objs/_mesh3d.py +++ b/plotly/graph_objs/_mesh3d.py @@ -209,12 +209,15 @@ def color(self): """ Sets the color of the whole mesh - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to mesh3d.colorscale diff --git a/plotly/graph_objs/_scatter.py b/plotly/graph_objs/_scatter.py index f46b0473368..f4cf48711cd 100644 --- a/plotly/graph_objs/_scatter.py +++ b/plotly/graph_objs/_scatter.py @@ -279,12 +279,15 @@ def fillcolor(self): ignored except for setting the background color of the hover label, if any. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scatter3d.py b/plotly/graph_objs/_scatter3d.py index ae2a96b6f12..47aac006506 100644 --- a/plotly/graph_objs/_scatter3d.py +++ b/plotly/graph_objs/_scatter3d.py @@ -628,12 +628,15 @@ def surfacecolor(self): """ Sets the surface fill color. - The 'surfacecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'surfacecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scattercarpet.py b/plotly/graph_objs/_scattercarpet.py index 40c7bc427bf..63822cdd4d2 100644 --- a/plotly/graph_objs/_scattercarpet.py +++ b/plotly/graph_objs/_scattercarpet.py @@ -183,12 +183,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scattergeo.py b/plotly/graph_objs/_scattergeo.py index ff3af5a3bbd..0d518fb1bcd 100644 --- a/plotly/graph_objs/_scattergeo.py +++ b/plotly/graph_objs/_scattergeo.py @@ -143,12 +143,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scattergl.py b/plotly/graph_objs/_scattergl.py index 7811c1cd0bd..d9cda413ef6 100644 --- a/plotly/graph_objs/_scattergl.py +++ b/plotly/graph_objs/_scattergl.py @@ -224,12 +224,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scattermap.py b/plotly/graph_objs/_scattermap.py index 2628d415135..37f90917a02 100644 --- a/plotly/graph_objs/_scattermap.py +++ b/plotly/graph_objs/_scattermap.py @@ -159,12 +159,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scatterpolar.py b/plotly/graph_objs/_scatterpolar.py index 7848c06f398..83650086263 100644 --- a/plotly/graph_objs/_scatterpolar.py +++ b/plotly/graph_objs/_scatterpolar.py @@ -188,12 +188,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scatterpolargl.py b/plotly/graph_objs/_scatterpolargl.py index 8c620ca3a0c..9210ef4534b 100644 --- a/plotly/graph_objs/_scatterpolargl.py +++ b/plotly/graph_objs/_scatterpolargl.py @@ -176,12 +176,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scattersmith.py b/plotly/graph_objs/_scattersmith.py index ca7861a1bc4..c7e403e7e41 100644 --- a/plotly/graph_objs/_scattersmith.py +++ b/plotly/graph_objs/_scattersmith.py @@ -145,12 +145,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_scatterternary.py b/plotly/graph_objs/_scatterternary.py index 4bc80e35bd2..076bbb668ce 100644 --- a/plotly/graph_objs/_scatterternary.py +++ b/plotly/graph_objs/_scatterternary.py @@ -210,12 +210,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/_violin.py b/plotly/graph_objs/_violin.py index 513abe71cde..3d28cf455f1 100644 --- a/plotly/graph_objs/_violin.py +++ b/plotly/graph_objs/_violin.py @@ -152,12 +152,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/_error_x.py b/plotly/graph_objs/bar/_error_x.py index a8f967c4359..cf2dd4ef6b1 100644 --- a/plotly/graph_objs/bar/_error_x.py +++ b/plotly/graph_objs/bar/_error_x.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/_error_y.py b/plotly/graph_objs/bar/_error_y.py index 514bfe755a7..35f15b76863 100644 --- a/plotly/graph_objs/bar/_error_y.py +++ b/plotly/graph_objs/bar/_error_y.py @@ -67,12 +67,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/_hoverlabel.py b/plotly/graph_objs/bar/_hoverlabel.py index fac069c97b3..1e810afb901 100644 --- a/plotly/graph_objs/bar/_hoverlabel.py +++ b/plotly/graph_objs/bar/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/_insidetextfont.py b/plotly/graph_objs/bar/_insidetextfont.py index 2c3809255cb..5f57d9753b9 100644 --- a/plotly/graph_objs/bar/_insidetextfont.py +++ b/plotly/graph_objs/bar/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/_marker.py b/plotly/graph_objs/bar/_marker.py index da46ee159fa..e109ad4ff43 100644 --- a/plotly/graph_objs/bar/_marker.py +++ b/plotly/graph_objs/bar/_marker.py @@ -145,12 +145,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to bar.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/bar/_outsidetextfont.py b/plotly/graph_objs/bar/_outsidetextfont.py index 64ea33a0f2f..189cbd8647a 100644 --- a/plotly/graph_objs/bar/_outsidetextfont.py +++ b/plotly/graph_objs/bar/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/_textfont.py b/plotly/graph_objs/bar/_textfont.py index 18e9ab76e6d..1c30dd8b8b0 100644 --- a/plotly/graph_objs/bar/_textfont.py +++ b/plotly/graph_objs/bar/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/hoverlabel/_font.py b/plotly/graph_objs/bar/hoverlabel/_font.py index 7d6d640c7e5..295a86bec03 100644 --- a/plotly/graph_objs/bar/hoverlabel/_font.py +++ b/plotly/graph_objs/bar/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/legendgrouptitle/_font.py b/plotly/graph_objs/bar/legendgrouptitle/_font.py index a87dfbf625a..0833f590282 100644 --- a/plotly/graph_objs/bar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/bar/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/marker/_colorbar.py b/plotly/graph_objs/bar/marker/_colorbar.py index e391d3161b1..3db8624c8d6 100644 --- a/plotly/graph_objs/bar/marker/_colorbar.py +++ b/plotly/graph_objs/bar/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/marker/_line.py b/plotly/graph_objs/bar/marker/_line.py index 56c28eaeba9..61e0f82215f 100644 --- a/plotly/graph_objs/bar/marker/_line.py +++ b/plotly/graph_objs/bar/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to bar.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/bar/marker/_pattern.py b/plotly/graph_objs/bar/marker/_pattern.py index 2c09b30df16..d209f509373 100644 --- a/plotly/graph_objs/bar/marker/_pattern.py +++ b/plotly/graph_objs/bar/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py index 428a2114d2c..53d14dfd89c 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/marker/colorbar/title/_font.py b/plotly/graph_objs/bar/marker/colorbar/title/_font.py index dbdd39017df..fa7cdbde8ca 100644 --- a/plotly/graph_objs/bar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/bar/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/selected/_marker.py b/plotly/graph_objs/bar/selected/_marker.py index e704eb44fcf..ada2ffa9358 100644 --- a/plotly/graph_objs/bar/selected/_marker.py +++ b/plotly/graph_objs/bar/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/selected/_textfont.py b/plotly/graph_objs/bar/selected/_textfont.py index 79fb7abab61..4c1db09e627 100644 --- a/plotly/graph_objs/bar/selected/_textfont.py +++ b/plotly/graph_objs/bar/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/unselected/_marker.py b/plotly/graph_objs/bar/unselected/_marker.py index a4e004c7aee..274ce243541 100644 --- a/plotly/graph_objs/bar/unselected/_marker.py +++ b/plotly/graph_objs/bar/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/bar/unselected/_textfont.py b/plotly/graph_objs/bar/unselected/_textfont.py index eb15311b9c8..6ed0bf21747 100644 --- a/plotly/graph_objs/bar/unselected/_textfont.py +++ b/plotly/graph_objs/bar/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/_hoverlabel.py b/plotly/graph_objs/barpolar/_hoverlabel.py index 2164bd97a12..405ad0398e7 100644 --- a/plotly/graph_objs/barpolar/_hoverlabel.py +++ b/plotly/graph_objs/barpolar/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/barpolar/_marker.py b/plotly/graph_objs/barpolar/_marker.py index c7d2f2d8680..b53325f4598 100644 --- a/plotly/graph_objs/barpolar/_marker.py +++ b/plotly/graph_objs/barpolar/_marker.py @@ -144,12 +144,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to barpolar.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/barpolar/hoverlabel/_font.py b/plotly/graph_objs/barpolar/hoverlabel/_font.py index 56b158407b8..ba654fe8eda 100644 --- a/plotly/graph_objs/barpolar/hoverlabel/_font.py +++ b/plotly/graph_objs/barpolar/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/barpolar/legendgrouptitle/_font.py b/plotly/graph_objs/barpolar/legendgrouptitle/_font.py index 5e30cb44ff9..74fce43b1ca 100644 --- a/plotly/graph_objs/barpolar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/barpolar/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/marker/_colorbar.py b/plotly/graph_objs/barpolar/marker/_colorbar.py index df14abb68f8..52f38cbe9ab 100644 --- a/plotly/graph_objs/barpolar/marker/_colorbar.py +++ b/plotly/graph_objs/barpolar/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/marker/_line.py b/plotly/graph_objs/barpolar/marker/_line.py index 62babe43526..af2736aefce 100644 --- a/plotly/graph_objs/barpolar/marker/_line.py +++ b/plotly/graph_objs/barpolar/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to barpolar.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/barpolar/marker/_pattern.py b/plotly/graph_objs/barpolar/marker/_pattern.py index 7a23986b28c..86d857c2d16 100644 --- a/plotly/graph_objs/barpolar/marker/_pattern.py +++ b/plotly/graph_objs/barpolar/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py b/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py index 6645391d78c..a86194ed376 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py b/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py index 9752acaa45d..48d36f268fd 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/selected/_marker.py b/plotly/graph_objs/barpolar/selected/_marker.py index ca4aba8869f..ea46b08c783 100644 --- a/plotly/graph_objs/barpolar/selected/_marker.py +++ b/plotly/graph_objs/barpolar/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/selected/_textfont.py b/plotly/graph_objs/barpolar/selected/_textfont.py index 111a9ff78ef..7646199cb58 100644 --- a/plotly/graph_objs/barpolar/selected/_textfont.py +++ b/plotly/graph_objs/barpolar/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/unselected/_marker.py b/plotly/graph_objs/barpolar/unselected/_marker.py index 85e314bfd20..c93e2a94f32 100644 --- a/plotly/graph_objs/barpolar/unselected/_marker.py +++ b/plotly/graph_objs/barpolar/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/barpolar/unselected/_textfont.py b/plotly/graph_objs/barpolar/unselected/_textfont.py index 41ad2f2e23d..af29bfe55b7 100644 --- a/plotly/graph_objs/barpolar/unselected/_textfont.py +++ b/plotly/graph_objs/barpolar/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/_hoverlabel.py b/plotly/graph_objs/box/_hoverlabel.py index 67a512e2c0e..f6d79857246 100644 --- a/plotly/graph_objs/box/_hoverlabel.py +++ b/plotly/graph_objs/box/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/box/_line.py b/plotly/graph_objs/box/_line.py index 4887c7e2517..26c967e81ca 100644 --- a/plotly/graph_objs/box/_line.py +++ b/plotly/graph_objs/box/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of line bounding the box(es). - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/_marker.py b/plotly/graph_objs/box/_marker.py index eaf4f80d4f0..88e4df5deea 100644 --- a/plotly/graph_objs/box/_marker.py +++ b/plotly/graph_objs/box/_marker.py @@ -46,12 +46,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -105,12 +108,15 @@ def outliercolor(self): """ Sets the color of the outlier sample points. - The 'outliercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outliercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/hoverlabel/_font.py b/plotly/graph_objs/box/hoverlabel/_font.py index e4fcb443dec..cccc458452b 100644 --- a/plotly/graph_objs/box/hoverlabel/_font.py +++ b/plotly/graph_objs/box/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/box/legendgrouptitle/_font.py b/plotly/graph_objs/box/legendgrouptitle/_font.py index 1e0120f6182..1a02d853adb 100644 --- a/plotly/graph_objs/box/legendgrouptitle/_font.py +++ b/plotly/graph_objs/box/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/marker/_line.py b/plotly/graph_objs/box/marker/_line.py index 95b6e0bed49..63939f6747c 100644 --- a/plotly/graph_objs/box/marker/_line.py +++ b/plotly/graph_objs/box/marker/_line.py @@ -18,12 +18,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -41,12 +44,15 @@ def outliercolor(self): Sets the border line color of the outlier sample points. Defaults to marker.color - The 'outliercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outliercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/selected/_marker.py b/plotly/graph_objs/box/selected/_marker.py index b4f9afaf2c9..f2e36f8bb01 100644 --- a/plotly/graph_objs/box/selected/_marker.py +++ b/plotly/graph_objs/box/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/box/unselected/_marker.py b/plotly/graph_objs/box/unselected/_marker.py index b2c5d8f5d7c..711f1f96526 100644 --- a/plotly/graph_objs/box/unselected/_marker.py +++ b/plotly/graph_objs/box/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/candlestick/_decreasing.py b/plotly/graph_objs/candlestick/_decreasing.py index c801692156a..5463fa8e19b 100644 --- a/plotly/graph_objs/candlestick/_decreasing.py +++ b/plotly/graph_objs/candlestick/_decreasing.py @@ -17,12 +17,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/candlestick/_hoverlabel.py b/plotly/graph_objs/candlestick/_hoverlabel.py index 27206a5d319..33e98c554b9 100644 --- a/plotly/graph_objs/candlestick/_hoverlabel.py +++ b/plotly/graph_objs/candlestick/_hoverlabel.py @@ -45,12 +45,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -68,12 +71,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/candlestick/_increasing.py b/plotly/graph_objs/candlestick/_increasing.py index 547e846a997..ca585f3fcab 100644 --- a/plotly/graph_objs/candlestick/_increasing.py +++ b/plotly/graph_objs/candlestick/_increasing.py @@ -17,12 +17,15 @@ def fillcolor(self): the line color, marker color, or marker line color, whichever is available. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/candlestick/decreasing/_line.py b/plotly/graph_objs/candlestick/decreasing/_line.py index 4e0f2e0260e..39749884ad6 100644 --- a/plotly/graph_objs/candlestick/decreasing/_line.py +++ b/plotly/graph_objs/candlestick/decreasing/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of line bounding the box(es). - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/candlestick/hoverlabel/_font.py b/plotly/graph_objs/candlestick/hoverlabel/_font.py index 0f1c55b6c13..a90db386519 100644 --- a/plotly/graph_objs/candlestick/hoverlabel/_font.py +++ b/plotly/graph_objs/candlestick/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/candlestick/increasing/_line.py b/plotly/graph_objs/candlestick/increasing/_line.py index 964d07d81cc..d418c77e2bb 100644 --- a/plotly/graph_objs/candlestick/increasing/_line.py +++ b/plotly/graph_objs/candlestick/increasing/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of line bounding the box(es). - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/candlestick/legendgrouptitle/_font.py b/plotly/graph_objs/candlestick/legendgrouptitle/_font.py index c91106b91b3..2b9926af2bd 100644 --- a/plotly/graph_objs/candlestick/legendgrouptitle/_font.py +++ b/plotly/graph_objs/candlestick/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/_aaxis.py b/plotly/graph_objs/carpet/_aaxis.py index e3f30f2fcc2..017537b9c91 100644 --- a/plotly/graph_objs/carpet/_aaxis.py +++ b/plotly/graph_objs/carpet/_aaxis.py @@ -222,12 +222,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -282,12 +285,15 @@ def endlinecolor(self): """ Sets the line color of the end line. - The 'endlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'endlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -364,12 +370,15 @@ def gridcolor(self): """ Sets the axis line color. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -509,12 +518,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -567,12 +579,15 @@ def minorgridcolor(self): """ Sets the color of the grid lines. - The 'minorgridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'minorgridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -896,12 +911,15 @@ def startlinecolor(self): """ Sets the line color of the start line. - The 'startlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'startlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/_baxis.py b/plotly/graph_objs/carpet/_baxis.py index 9988d444bc1..dbccd164c06 100644 --- a/plotly/graph_objs/carpet/_baxis.py +++ b/plotly/graph_objs/carpet/_baxis.py @@ -222,12 +222,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -282,12 +285,15 @@ def endlinecolor(self): """ Sets the line color of the end line. - The 'endlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'endlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -364,12 +370,15 @@ def gridcolor(self): """ Sets the axis line color. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -509,12 +518,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -567,12 +579,15 @@ def minorgridcolor(self): """ Sets the color of the grid lines. - The 'minorgridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'minorgridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -896,12 +911,15 @@ def startlinecolor(self): """ Sets the line color of the start line. - The 'startlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'startlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/_font.py b/plotly/graph_objs/carpet/_font.py index 46339843660..b94f8325043 100644 --- a/plotly/graph_objs/carpet/_font.py +++ b/plotly/graph_objs/carpet/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/aaxis/_tickfont.py b/plotly/graph_objs/carpet/aaxis/_tickfont.py index 8f552c6a883..f985893275b 100644 --- a/plotly/graph_objs/carpet/aaxis/_tickfont.py +++ b/plotly/graph_objs/carpet/aaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/aaxis/title/_font.py b/plotly/graph_objs/carpet/aaxis/title/_font.py index 36a79d9cf65..a11f734731d 100644 --- a/plotly/graph_objs/carpet/aaxis/title/_font.py +++ b/plotly/graph_objs/carpet/aaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/baxis/_tickfont.py b/plotly/graph_objs/carpet/baxis/_tickfont.py index 9d57ff46582..88040a2de6e 100644 --- a/plotly/graph_objs/carpet/baxis/_tickfont.py +++ b/plotly/graph_objs/carpet/baxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/baxis/title/_font.py b/plotly/graph_objs/carpet/baxis/title/_font.py index e22e6052532..809921a5774 100644 --- a/plotly/graph_objs/carpet/baxis/title/_font.py +++ b/plotly/graph_objs/carpet/baxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/carpet/legendgrouptitle/_font.py b/plotly/graph_objs/carpet/legendgrouptitle/_font.py index 081343cad12..3dfaa3bc8e5 100644 --- a/plotly/graph_objs/carpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/carpet/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choropleth/_colorbar.py b/plotly/graph_objs/choropleth/_colorbar.py index 0fbf6b60619..02ea5630128 100644 --- a/plotly/graph_objs/choropleth/_colorbar.py +++ b/plotly/graph_objs/choropleth/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choropleth/_hoverlabel.py b/plotly/graph_objs/choropleth/_hoverlabel.py index 34b50394fcd..8ef0712f755 100644 --- a/plotly/graph_objs/choropleth/_hoverlabel.py +++ b/plotly/graph_objs/choropleth/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/choropleth/colorbar/_tickfont.py b/plotly/graph_objs/choropleth/colorbar/_tickfont.py index 7eddb6ab073..9374a8a390c 100644 --- a/plotly/graph_objs/choropleth/colorbar/_tickfont.py +++ b/plotly/graph_objs/choropleth/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choropleth/colorbar/title/_font.py b/plotly/graph_objs/choropleth/colorbar/title/_font.py index e0a79ab0086..e19133cd477 100644 --- a/plotly/graph_objs/choropleth/colorbar/title/_font.py +++ b/plotly/graph_objs/choropleth/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choropleth/hoverlabel/_font.py b/plotly/graph_objs/choropleth/hoverlabel/_font.py index 9da2fa7fd30..d52a7f00169 100644 --- a/plotly/graph_objs/choropleth/hoverlabel/_font.py +++ b/plotly/graph_objs/choropleth/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/choropleth/legendgrouptitle/_font.py b/plotly/graph_objs/choropleth/legendgrouptitle/_font.py index 77718109bef..bdfdb8a7dc4 100644 --- a/plotly/graph_objs/choropleth/legendgrouptitle/_font.py +++ b/plotly/graph_objs/choropleth/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choropleth/marker/_line.py b/plotly/graph_objs/choropleth/marker/_line.py index a17658a5916..495fb6e67e6 100644 --- a/plotly/graph_objs/choropleth/marker/_line.py +++ b/plotly/graph_objs/choropleth/marker/_line.py @@ -18,12 +18,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/choroplethmap/_colorbar.py b/plotly/graph_objs/choroplethmap/_colorbar.py index e56051c5962..67d817f8fbe 100644 --- a/plotly/graph_objs/choroplethmap/_colorbar.py +++ b/plotly/graph_objs/choroplethmap/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choroplethmap/_hoverlabel.py b/plotly/graph_objs/choroplethmap/_hoverlabel.py index ab0591ebd12..3e0ab9b8a18 100644 --- a/plotly/graph_objs/choroplethmap/_hoverlabel.py +++ b/plotly/graph_objs/choroplethmap/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py b/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py index 3848b907839..d1015feb409 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py +++ b/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choroplethmap/colorbar/title/_font.py b/plotly/graph_objs/choroplethmap/colorbar/title/_font.py index ab8ff46b1ae..981a2fa687d 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/title/_font.py +++ b/plotly/graph_objs/choroplethmap/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choroplethmap/hoverlabel/_font.py b/plotly/graph_objs/choroplethmap/hoverlabel/_font.py index a696c29af11..bff583f7661 100644 --- a/plotly/graph_objs/choroplethmap/hoverlabel/_font.py +++ b/plotly/graph_objs/choroplethmap/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py b/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py index 727bfcb660d..cd23587e5b2 100644 --- a/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/choroplethmap/marker/_line.py b/plotly/graph_objs/choroplethmap/marker/_line.py index 412f3cd3208..92de2c068b0 100644 --- a/plotly/graph_objs/choroplethmap/marker/_line.py +++ b/plotly/graph_objs/choroplethmap/marker/_line.py @@ -18,12 +18,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/cone/_colorbar.py b/plotly/graph_objs/cone/_colorbar.py index d88108ad9cb..ab8c985c232 100644 --- a/plotly/graph_objs/cone/_colorbar.py +++ b/plotly/graph_objs/cone/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/cone/_hoverlabel.py b/plotly/graph_objs/cone/_hoverlabel.py index a0a7a1e16df..3f3f10a3265 100644 --- a/plotly/graph_objs/cone/_hoverlabel.py +++ b/plotly/graph_objs/cone/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/cone/colorbar/_tickfont.py b/plotly/graph_objs/cone/colorbar/_tickfont.py index bdf5646e838..60b969435f8 100644 --- a/plotly/graph_objs/cone/colorbar/_tickfont.py +++ b/plotly/graph_objs/cone/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/cone/colorbar/title/_font.py b/plotly/graph_objs/cone/colorbar/title/_font.py index 523d1e93ebb..b30482b7ea6 100644 --- a/plotly/graph_objs/cone/colorbar/title/_font.py +++ b/plotly/graph_objs/cone/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/cone/hoverlabel/_font.py b/plotly/graph_objs/cone/hoverlabel/_font.py index 1d7a336d73b..9b96df794ff 100644 --- a/plotly/graph_objs/cone/hoverlabel/_font.py +++ b/plotly/graph_objs/cone/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/cone/legendgrouptitle/_font.py b/plotly/graph_objs/cone/legendgrouptitle/_font.py index 2499ed4af48..cb66482bcb9 100644 --- a/plotly/graph_objs/cone/legendgrouptitle/_font.py +++ b/plotly/graph_objs/cone/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/_colorbar.py b/plotly/graph_objs/contour/_colorbar.py index 8f239ba11c2..fdab25b377d 100644 --- a/plotly/graph_objs/contour/_colorbar.py +++ b/plotly/graph_objs/contour/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/_hoverlabel.py b/plotly/graph_objs/contour/_hoverlabel.py index 4d5ab5a4d88..c5b07389e86 100644 --- a/plotly/graph_objs/contour/_hoverlabel.py +++ b/plotly/graph_objs/contour/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/contour/_line.py b/plotly/graph_objs/contour/_line.py index 9090ff7ee69..290e924943d 100644 --- a/plotly/graph_objs/contour/_line.py +++ b/plotly/graph_objs/contour/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the contour level. Has no effect if `contours.coloring` is set to "lines". - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/_textfont.py b/plotly/graph_objs/contour/_textfont.py index cc2b34834f5..81dba5e0ceb 100644 --- a/plotly/graph_objs/contour/_textfont.py +++ b/plotly/graph_objs/contour/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/colorbar/_tickfont.py b/plotly/graph_objs/contour/colorbar/_tickfont.py index ad9ad3f7c31..ce928daf7f3 100644 --- a/plotly/graph_objs/contour/colorbar/_tickfont.py +++ b/plotly/graph_objs/contour/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/colorbar/title/_font.py b/plotly/graph_objs/contour/colorbar/title/_font.py index 03a0b3c2ed8..bf4634e0801 100644 --- a/plotly/graph_objs/contour/colorbar/title/_font.py +++ b/plotly/graph_objs/contour/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/contours/_labelfont.py b/plotly/graph_objs/contour/contours/_labelfont.py index a8ddf0921aa..099bf1754bd 100644 --- a/plotly/graph_objs/contour/contours/_labelfont.py +++ b/plotly/graph_objs/contour/contours/_labelfont.py @@ -23,12 +23,15 @@ class Labelfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contour/hoverlabel/_font.py b/plotly/graph_objs/contour/hoverlabel/_font.py index f5410360ede..ca62f76dee3 100644 --- a/plotly/graph_objs/contour/hoverlabel/_font.py +++ b/plotly/graph_objs/contour/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/contour/legendgrouptitle/_font.py b/plotly/graph_objs/contour/legendgrouptitle/_font.py index e941552d25f..1deb1a34f39 100644 --- a/plotly/graph_objs/contour/legendgrouptitle/_font.py +++ b/plotly/graph_objs/contour/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/_colorbar.py b/plotly/graph_objs/contourcarpet/_colorbar.py index 1bfd3bcee40..828135f5809 100644 --- a/plotly/graph_objs/contourcarpet/_colorbar.py +++ b/plotly/graph_objs/contourcarpet/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/_line.py b/plotly/graph_objs/contourcarpet/_line.py index 7846e687fc5..7eebf5dd59b 100644 --- a/plotly/graph_objs/contourcarpet/_line.py +++ b/plotly/graph_objs/contourcarpet/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the contour level. Has no effect if `contours.coloring` is set to "lines". - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py index 895eed26b5e..a02fbdbb28e 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/colorbar/title/_font.py b/plotly/graph_objs/contourcarpet/colorbar/title/_font.py index a2920f2ce2f..5b93d350144 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/title/_font.py +++ b/plotly/graph_objs/contourcarpet/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/contours/_labelfont.py b/plotly/graph_objs/contourcarpet/contours/_labelfont.py index 3922c96ad5a..d6199e36477 100644 --- a/plotly/graph_objs/contourcarpet/contours/_labelfont.py +++ b/plotly/graph_objs/contourcarpet/contours/_labelfont.py @@ -23,12 +23,15 @@ class Labelfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py b/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py index 7e6851d5502..fdf55359733 100644 --- a/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/densitymap/_colorbar.py b/plotly/graph_objs/densitymap/_colorbar.py index 7f8857b1b1b..fc6ecfcdca1 100644 --- a/plotly/graph_objs/densitymap/_colorbar.py +++ b/plotly/graph_objs/densitymap/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/densitymap/_hoverlabel.py b/plotly/graph_objs/densitymap/_hoverlabel.py index 4c8eb4ea8bd..796fe10ff68 100644 --- a/plotly/graph_objs/densitymap/_hoverlabel.py +++ b/plotly/graph_objs/densitymap/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/densitymap/colorbar/_tickfont.py b/plotly/graph_objs/densitymap/colorbar/_tickfont.py index fa755de61e2..6286e217b3f 100644 --- a/plotly/graph_objs/densitymap/colorbar/_tickfont.py +++ b/plotly/graph_objs/densitymap/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/densitymap/colorbar/title/_font.py b/plotly/graph_objs/densitymap/colorbar/title/_font.py index 858505c3dbf..ffad744b6f4 100644 --- a/plotly/graph_objs/densitymap/colorbar/title/_font.py +++ b/plotly/graph_objs/densitymap/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/densitymap/hoverlabel/_font.py b/plotly/graph_objs/densitymap/hoverlabel/_font.py index 23f1ac077ec..955621118fd 100644 --- a/plotly/graph_objs/densitymap/hoverlabel/_font.py +++ b/plotly/graph_objs/densitymap/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/densitymap/legendgrouptitle/_font.py b/plotly/graph_objs/densitymap/legendgrouptitle/_font.py index 35cc9d85c4b..dde61e82d87 100644 --- a/plotly/graph_objs/densitymap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/densitymap/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/_connector.py b/plotly/graph_objs/funnel/_connector.py index 3728c33e63b..58c943aa6ba 100644 --- a/plotly/graph_objs/funnel/_connector.py +++ b/plotly/graph_objs/funnel/_connector.py @@ -15,12 +15,15 @@ def fillcolor(self): """ Sets the fill color. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/_hoverlabel.py b/plotly/graph_objs/funnel/_hoverlabel.py index e8343269f40..8216c9b0a99 100644 --- a/plotly/graph_objs/funnel/_hoverlabel.py +++ b/plotly/graph_objs/funnel/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnel/_insidetextfont.py b/plotly/graph_objs/funnel/_insidetextfont.py index 9c1a111f4a1..bb5bb2ea302 100644 --- a/plotly/graph_objs/funnel/_insidetextfont.py +++ b/plotly/graph_objs/funnel/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnel/_marker.py b/plotly/graph_objs/funnel/_marker.py index 925d5435d2d..9ba65595f2b 100644 --- a/plotly/graph_objs/funnel/_marker.py +++ b/plotly/graph_objs/funnel/_marker.py @@ -143,12 +143,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to funnel.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/funnel/_outsidetextfont.py b/plotly/graph_objs/funnel/_outsidetextfont.py index 213d3432cbd..23809713515 100644 --- a/plotly/graph_objs/funnel/_outsidetextfont.py +++ b/plotly/graph_objs/funnel/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnel/_textfont.py b/plotly/graph_objs/funnel/_textfont.py index 5ae9b7fa1ee..8e53a8688ff 100644 --- a/plotly/graph_objs/funnel/_textfont.py +++ b/plotly/graph_objs/funnel/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnel/connector/_line.py b/plotly/graph_objs/funnel/connector/_line.py index 9484bb38e24..8c99d37951c 100644 --- a/plotly/graph_objs/funnel/connector/_line.py +++ b/plotly/graph_objs/funnel/connector/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/hoverlabel/_font.py b/plotly/graph_objs/funnel/hoverlabel/_font.py index 59b9a51c8fc..ca553e98cbb 100644 --- a/plotly/graph_objs/funnel/hoverlabel/_font.py +++ b/plotly/graph_objs/funnel/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnel/legendgrouptitle/_font.py b/plotly/graph_objs/funnel/legendgrouptitle/_font.py index ca0aef1833e..b74aa39ea53 100644 --- a/plotly/graph_objs/funnel/legendgrouptitle/_font.py +++ b/plotly/graph_objs/funnel/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/marker/_colorbar.py b/plotly/graph_objs/funnel/marker/_colorbar.py index 86a4575815f..3e99d813da8 100644 --- a/plotly/graph_objs/funnel/marker/_colorbar.py +++ b/plotly/graph_objs/funnel/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/marker/_line.py b/plotly/graph_objs/funnel/marker/_line.py index aae3814c01f..9fe595b0511 100644 --- a/plotly/graph_objs/funnel/marker/_line.py +++ b/plotly/graph_objs/funnel/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to funnel.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py b/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py index 34167b371c7..64966232370 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnel/marker/colorbar/title/_font.py b/plotly/graph_objs/funnel/marker/colorbar/title/_font.py index 21667bdf98d..790deafb23d 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/funnel/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnelarea/_hoverlabel.py b/plotly/graph_objs/funnelarea/_hoverlabel.py index 8e274e33883..7956da4c529 100644 --- a/plotly/graph_objs/funnelarea/_hoverlabel.py +++ b/plotly/graph_objs/funnelarea/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/_insidetextfont.py b/plotly/graph_objs/funnelarea/_insidetextfont.py index 9dbcc24f1ac..64f2791fb4a 100644 --- a/plotly/graph_objs/funnelarea/_insidetextfont.py +++ b/plotly/graph_objs/funnelarea/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/_textfont.py b/plotly/graph_objs/funnelarea/_textfont.py index bd59b5cd463..24c1b5b75f8 100644 --- a/plotly/graph_objs/funnelarea/_textfont.py +++ b/plotly/graph_objs/funnelarea/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/hoverlabel/_font.py b/plotly/graph_objs/funnelarea/hoverlabel/_font.py index 588eb05a9f6..7e0bc2f31fb 100644 --- a/plotly/graph_objs/funnelarea/hoverlabel/_font.py +++ b/plotly/graph_objs/funnelarea/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py b/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py index db9bd08d577..a1515288355 100644 --- a/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py +++ b/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/funnelarea/marker/_line.py b/plotly/graph_objs/funnelarea/marker/_line.py index bc08186c474..5e14aad5253 100644 --- a/plotly/graph_objs/funnelarea/marker/_line.py +++ b/plotly/graph_objs/funnelarea/marker/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/marker/_pattern.py b/plotly/graph_objs/funnelarea/marker/_pattern.py index 4672882caac..76092d03e6e 100644 --- a/plotly/graph_objs/funnelarea/marker/_pattern.py +++ b/plotly/graph_objs/funnelarea/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/funnelarea/title/_font.py b/plotly/graph_objs/funnelarea/title/_font.py index 2b7260c95be..b83643e7d2d 100644 --- a/plotly/graph_objs/funnelarea/title/_font.py +++ b/plotly/graph_objs/funnelarea/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/heatmap/_colorbar.py b/plotly/graph_objs/heatmap/_colorbar.py index 8d151e33e11..561121754d4 100644 --- a/plotly/graph_objs/heatmap/_colorbar.py +++ b/plotly/graph_objs/heatmap/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/heatmap/_hoverlabel.py b/plotly/graph_objs/heatmap/_hoverlabel.py index 10c8d5330a3..2bca3fc9305 100644 --- a/plotly/graph_objs/heatmap/_hoverlabel.py +++ b/plotly/graph_objs/heatmap/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/heatmap/_textfont.py b/plotly/graph_objs/heatmap/_textfont.py index 6135299fb8b..4d444549041 100644 --- a/plotly/graph_objs/heatmap/_textfont.py +++ b/plotly/graph_objs/heatmap/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/heatmap/colorbar/_tickfont.py b/plotly/graph_objs/heatmap/colorbar/_tickfont.py index acf331e3e7f..190ebb2f04b 100644 --- a/plotly/graph_objs/heatmap/colorbar/_tickfont.py +++ b/plotly/graph_objs/heatmap/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/heatmap/colorbar/title/_font.py b/plotly/graph_objs/heatmap/colorbar/title/_font.py index a2bc99361a4..20c1151846c 100644 --- a/plotly/graph_objs/heatmap/colorbar/title/_font.py +++ b/plotly/graph_objs/heatmap/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/heatmap/hoverlabel/_font.py b/plotly/graph_objs/heatmap/hoverlabel/_font.py index 70004b95af4..821c9ce4361 100644 --- a/plotly/graph_objs/heatmap/hoverlabel/_font.py +++ b/plotly/graph_objs/heatmap/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/heatmap/legendgrouptitle/_font.py b/plotly/graph_objs/heatmap/legendgrouptitle/_font.py index 7ec0ed0870f..a1b82047518 100644 --- a/plotly/graph_objs/heatmap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/heatmap/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/_error_x.py b/plotly/graph_objs/histogram/_error_x.py index 55e0c9a04c5..22c6b01e524 100644 --- a/plotly/graph_objs/histogram/_error_x.py +++ b/plotly/graph_objs/histogram/_error_x.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/_error_y.py b/plotly/graph_objs/histogram/_error_y.py index 958955269da..744c3eef28e 100644 --- a/plotly/graph_objs/histogram/_error_y.py +++ b/plotly/graph_objs/histogram/_error_y.py @@ -67,12 +67,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/_hoverlabel.py b/plotly/graph_objs/histogram/_hoverlabel.py index 1d6a0e5da37..e91d931d56b 100644 --- a/plotly/graph_objs/histogram/_hoverlabel.py +++ b/plotly/graph_objs/histogram/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram/_insidetextfont.py b/plotly/graph_objs/histogram/_insidetextfont.py index 33be8708db6..fa84524d65c 100644 --- a/plotly/graph_objs/histogram/_insidetextfont.py +++ b/plotly/graph_objs/histogram/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/_marker.py b/plotly/graph_objs/histogram/_marker.py index a4b2f58e33c..e482875325c 100644 --- a/plotly/graph_objs/histogram/_marker.py +++ b/plotly/graph_objs/histogram/_marker.py @@ -145,12 +145,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to histogram.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/histogram/_outsidetextfont.py b/plotly/graph_objs/histogram/_outsidetextfont.py index f38ec9f240d..df77cfba872 100644 --- a/plotly/graph_objs/histogram/_outsidetextfont.py +++ b/plotly/graph_objs/histogram/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/_textfont.py b/plotly/graph_objs/histogram/_textfont.py index e122e486a91..2a6f1bacad9 100644 --- a/plotly/graph_objs/histogram/_textfont.py +++ b/plotly/graph_objs/histogram/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/hoverlabel/_font.py b/plotly/graph_objs/histogram/hoverlabel/_font.py index ff7f1010321..4f5a0d01ac1 100644 --- a/plotly/graph_objs/histogram/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram/legendgrouptitle/_font.py b/plotly/graph_objs/histogram/legendgrouptitle/_font.py index 4c897f84f25..e83b3c5ceb9 100644 --- a/plotly/graph_objs/histogram/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/marker/_colorbar.py b/plotly/graph_objs/histogram/marker/_colorbar.py index 23800c46e1f..5788e6fcd97 100644 --- a/plotly/graph_objs/histogram/marker/_colorbar.py +++ b/plotly/graph_objs/histogram/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/marker/_line.py b/plotly/graph_objs/histogram/marker/_line.py index d3b0dc8ac72..2542b8b5866 100644 --- a/plotly/graph_objs/histogram/marker/_line.py +++ b/plotly/graph_objs/histogram/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to histogram.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/histogram/marker/_pattern.py b/plotly/graph_objs/histogram/marker/_pattern.py index cb60c3722c7..463e50c31d1 100644 --- a/plotly/graph_objs/histogram/marker/_pattern.py +++ b/plotly/graph_objs/histogram/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py index 881deedbe2f..37bc7f903a2 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/marker/colorbar/title/_font.py b/plotly/graph_objs/histogram/marker/colorbar/title/_font.py index 62c52e7da42..f5c66ed12c9 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/selected/_marker.py b/plotly/graph_objs/histogram/selected/_marker.py index 7858b6f94d5..f00b9cb44f0 100644 --- a/plotly/graph_objs/histogram/selected/_marker.py +++ b/plotly/graph_objs/histogram/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/selected/_textfont.py b/plotly/graph_objs/histogram/selected/_textfont.py index dc0739a01bd..3a6bd9e3c66 100644 --- a/plotly/graph_objs/histogram/selected/_textfont.py +++ b/plotly/graph_objs/histogram/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/unselected/_marker.py b/plotly/graph_objs/histogram/unselected/_marker.py index 1912438b08c..b3f1fe87569 100644 --- a/plotly/graph_objs/histogram/unselected/_marker.py +++ b/plotly/graph_objs/histogram/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram/unselected/_textfont.py b/plotly/graph_objs/histogram/unselected/_textfont.py index 423fc3d09a8..d0870adf679 100644 --- a/plotly/graph_objs/histogram/unselected/_textfont.py +++ b/plotly/graph_objs/histogram/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2d/_colorbar.py b/plotly/graph_objs/histogram2d/_colorbar.py index c3a52db0045..d4681620da9 100644 --- a/plotly/graph_objs/histogram2d/_colorbar.py +++ b/plotly/graph_objs/histogram2d/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2d/_hoverlabel.py b/plotly/graph_objs/histogram2d/_hoverlabel.py index cfd93aa9f87..0c772385e5c 100644 --- a/plotly/graph_objs/histogram2d/_hoverlabel.py +++ b/plotly/graph_objs/histogram2d/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram2d/_textfont.py b/plotly/graph_objs/histogram2d/_textfont.py index 17990f39742..556216d3a40 100644 --- a/plotly/graph_objs/histogram2d/_textfont.py +++ b/plotly/graph_objs/histogram2d/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py index e29c6990de1..66e9ebdc995 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2d/colorbar/title/_font.py b/plotly/graph_objs/histogram2d/colorbar/title/_font.py index 05738279bf7..11e24c0bb77 100644 --- a/plotly/graph_objs/histogram2d/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram2d/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2d/hoverlabel/_font.py b/plotly/graph_objs/histogram2d/hoverlabel/_font.py index 57bda1098b1..84586264b81 100644 --- a/plotly/graph_objs/histogram2d/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2d/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py b/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py index 3c0fc24066c..146f8ae0944 100644 --- a/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/_colorbar.py b/plotly/graph_objs/histogram2dcontour/_colorbar.py index b87b176a73d..b6823229980 100644 --- a/plotly/graph_objs/histogram2dcontour/_colorbar.py +++ b/plotly/graph_objs/histogram2dcontour/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py index 3e84253aa1a..07245911a67 100644 --- a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py +++ b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram2dcontour/_line.py b/plotly/graph_objs/histogram2dcontour/_line.py index c57d618dd73..41c0a6da7d0 100644 --- a/plotly/graph_objs/histogram2dcontour/_line.py +++ b/plotly/graph_objs/histogram2dcontour/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the contour level. Has no effect if `contours.coloring` is set to "lines". - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/_textfont.py b/plotly/graph_objs/histogram2dcontour/_textfont.py index 197a8a96ba2..81f2fb3f078 100644 --- a/plotly/graph_objs/histogram2dcontour/_textfont.py +++ b/plotly/graph_objs/histogram2dcontour/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py index 7bf73efe313..0f53d132581 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py b/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py index ec7f1446e6d..887451a568c 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py index fca22a3c2a3..ca4d71c6cf2 100644 --- a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py +++ b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py @@ -23,12 +23,15 @@ class Labelfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py index c0fbbe3cb4b..fe649b40670 100644 --- a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py b/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py index 1adaa2be16d..c54329e3de0 100644 --- a/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/_hoverlabel.py b/plotly/graph_objs/icicle/_hoverlabel.py index ea081e387b8..4766e0f59e1 100644 --- a/plotly/graph_objs/icicle/_hoverlabel.py +++ b/plotly/graph_objs/icicle/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/_insidetextfont.py b/plotly/graph_objs/icicle/_insidetextfont.py index b14184c1ba5..9f4f1014d0a 100644 --- a/plotly/graph_objs/icicle/_insidetextfont.py +++ b/plotly/graph_objs/icicle/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/_outsidetextfont.py b/plotly/graph_objs/icicle/_outsidetextfont.py index a7e3fe97792..29d2f6c462c 100644 --- a/plotly/graph_objs/icicle/_outsidetextfont.py +++ b/plotly/graph_objs/icicle/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/_root.py b/plotly/graph_objs/icicle/_root.py index 563937c46cb..e92475d27f2 100644 --- a/plotly/graph_objs/icicle/_root.py +++ b/plotly/graph_objs/icicle/_root.py @@ -17,12 +17,15 @@ def color(self): trace. this has no effect when a colorscale is used to set the markers. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/_textfont.py b/plotly/graph_objs/icicle/_textfont.py index 8e6f9e79b77..68f85fac2b9 100644 --- a/plotly/graph_objs/icicle/_textfont.py +++ b/plotly/graph_objs/icicle/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/hoverlabel/_font.py b/plotly/graph_objs/icicle/hoverlabel/_font.py index 3eaa38ebf80..42f75569693 100644 --- a/plotly/graph_objs/icicle/hoverlabel/_font.py +++ b/plotly/graph_objs/icicle/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/legendgrouptitle/_font.py b/plotly/graph_objs/icicle/legendgrouptitle/_font.py index 58269a03a47..f7ca21a4064 100644 --- a/plotly/graph_objs/icicle/legendgrouptitle/_font.py +++ b/plotly/graph_objs/icicle/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/marker/_colorbar.py b/plotly/graph_objs/icicle/marker/_colorbar.py index 0bd5d7275a1..ce191067a65 100644 --- a/plotly/graph_objs/icicle/marker/_colorbar.py +++ b/plotly/graph_objs/icicle/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/marker/_line.py b/plotly/graph_objs/icicle/marker/_line.py index 3ec0684107c..d102a3dd217 100644 --- a/plotly/graph_objs/icicle/marker/_line.py +++ b/plotly/graph_objs/icicle/marker/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/marker/_pattern.py b/plotly/graph_objs/icicle/marker/_pattern.py index d8cd86930f4..6e3f04c21f2 100644 --- a/plotly/graph_objs/icicle/marker/_pattern.py +++ b/plotly/graph_objs/icicle/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py b/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py index 6ca094dfd94..4a510157206 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/marker/colorbar/title/_font.py b/plotly/graph_objs/icicle/marker/colorbar/title/_font.py index 4bdf389d810..12fecea4a6f 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/icicle/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/icicle/pathbar/_textfont.py b/plotly/graph_objs/icicle/pathbar/_textfont.py index b370c2794ad..1f45fc03c78 100644 --- a/plotly/graph_objs/icicle/pathbar/_textfont.py +++ b/plotly/graph_objs/icicle/pathbar/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/image/_hoverlabel.py b/plotly/graph_objs/image/_hoverlabel.py index e5f0702bcb9..baaa39dc806 100644 --- a/plotly/graph_objs/image/_hoverlabel.py +++ b/plotly/graph_objs/image/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/image/hoverlabel/_font.py b/plotly/graph_objs/image/hoverlabel/_font.py index ea3233ae64e..a8da8b2b261 100644 --- a/plotly/graph_objs/image/hoverlabel/_font.py +++ b/plotly/graph_objs/image/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/image/legendgrouptitle/_font.py b/plotly/graph_objs/image/legendgrouptitle/_font.py index 27359b6017e..2f9f7376b03 100644 --- a/plotly/graph_objs/image/legendgrouptitle/_font.py +++ b/plotly/graph_objs/image/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/_gauge.py b/plotly/graph_objs/indicator/_gauge.py index 1fde32d64cf..dca5605f5c4 100644 --- a/plotly/graph_objs/indicator/_gauge.py +++ b/plotly/graph_objs/indicator/_gauge.py @@ -65,12 +65,15 @@ def bgcolor(self): """ Sets the gauge background color. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -87,12 +90,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the gauge. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/delta/_decreasing.py b/plotly/graph_objs/indicator/delta/_decreasing.py index 43644270c5a..88c2c44471a 100644 --- a/plotly/graph_objs/indicator/delta/_decreasing.py +++ b/plotly/graph_objs/indicator/delta/_decreasing.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color for increasing value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/delta/_font.py b/plotly/graph_objs/indicator/delta/_font.py index d24c0b1cdbd..29746b8e288 100644 --- a/plotly/graph_objs/indicator/delta/_font.py +++ b/plotly/graph_objs/indicator/delta/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/delta/_increasing.py b/plotly/graph_objs/indicator/delta/_increasing.py index 91ee3b25ce0..945428439c9 100644 --- a/plotly/graph_objs/indicator/delta/_increasing.py +++ b/plotly/graph_objs/indicator/delta/_increasing.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color for increasing value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/_axis.py b/plotly/graph_objs/indicator/gauge/_axis.py index caf4e315352..64b497d039d 100644 --- a/plotly/graph_objs/indicator/gauge/_axis.py +++ b/plotly/graph_objs/indicator/gauge/_axis.py @@ -343,12 +343,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/_bar.py b/plotly/graph_objs/indicator/gauge/_bar.py index 622dc9eae0d..6861258cf1d 100644 --- a/plotly/graph_objs/indicator/gauge/_bar.py +++ b/plotly/graph_objs/indicator/gauge/_bar.py @@ -15,12 +15,15 @@ def color(self): """ Sets the background color of the arc. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/_step.py b/plotly/graph_objs/indicator/gauge/_step.py index c683b9beeb4..0de349efebc 100644 --- a/plotly/graph_objs/indicator/gauge/_step.py +++ b/plotly/graph_objs/indicator/gauge/_step.py @@ -15,12 +15,15 @@ def color(self): """ Sets the background color of the arc. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/axis/_tickfont.py b/plotly/graph_objs/indicator/gauge/axis/_tickfont.py index 93f26eb07f7..76248336280 100644 --- a/plotly/graph_objs/indicator/gauge/axis/_tickfont.py +++ b/plotly/graph_objs/indicator/gauge/axis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/bar/_line.py b/plotly/graph_objs/indicator/gauge/bar/_line.py index 4b6a8424d78..320be69df42 100644 --- a/plotly/graph_objs/indicator/gauge/bar/_line.py +++ b/plotly/graph_objs/indicator/gauge/bar/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the line enclosing each sector. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/step/_line.py b/plotly/graph_objs/indicator/gauge/step/_line.py index 66e52fe23af..be631140702 100644 --- a/plotly/graph_objs/indicator/gauge/step/_line.py +++ b/plotly/graph_objs/indicator/gauge/step/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the line enclosing each sector. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/gauge/threshold/_line.py b/plotly/graph_objs/indicator/gauge/threshold/_line.py index 39cc1745a97..413d4564453 100644 --- a/plotly/graph_objs/indicator/gauge/threshold/_line.py +++ b/plotly/graph_objs/indicator/gauge/threshold/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the threshold line. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/legendgrouptitle/_font.py b/plotly/graph_objs/indicator/legendgrouptitle/_font.py index f8045ff90aa..f4789c45708 100644 --- a/plotly/graph_objs/indicator/legendgrouptitle/_font.py +++ b/plotly/graph_objs/indicator/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/number/_font.py b/plotly/graph_objs/indicator/number/_font.py index 57ca3baa043..9fd07bb94f7 100644 --- a/plotly/graph_objs/indicator/number/_font.py +++ b/plotly/graph_objs/indicator/number/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/indicator/title/_font.py b/plotly/graph_objs/indicator/title/_font.py index 5e91d6bcc4a..2382dc0ee2b 100644 --- a/plotly/graph_objs/indicator/title/_font.py +++ b/plotly/graph_objs/indicator/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/isosurface/_colorbar.py b/plotly/graph_objs/isosurface/_colorbar.py index e3276a88b30..022f4ba67e9 100644 --- a/plotly/graph_objs/isosurface/_colorbar.py +++ b/plotly/graph_objs/isosurface/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/isosurface/_contour.py b/plotly/graph_objs/isosurface/_contour.py index abd067d5c52..f200d6b9188 100644 --- a/plotly/graph_objs/isosurface/_contour.py +++ b/plotly/graph_objs/isosurface/_contour.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/isosurface/_hoverlabel.py b/plotly/graph_objs/isosurface/_hoverlabel.py index ca7311401a4..1a340957a5e 100644 --- a/plotly/graph_objs/isosurface/_hoverlabel.py +++ b/plotly/graph_objs/isosurface/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/isosurface/colorbar/_tickfont.py b/plotly/graph_objs/isosurface/colorbar/_tickfont.py index 8997fb153c9..b676617aebc 100644 --- a/plotly/graph_objs/isosurface/colorbar/_tickfont.py +++ b/plotly/graph_objs/isosurface/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/isosurface/colorbar/title/_font.py b/plotly/graph_objs/isosurface/colorbar/title/_font.py index de9ed018b38..f8b66d0dd81 100644 --- a/plotly/graph_objs/isosurface/colorbar/title/_font.py +++ b/plotly/graph_objs/isosurface/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/isosurface/hoverlabel/_font.py b/plotly/graph_objs/isosurface/hoverlabel/_font.py index f2d6f1d9eaa..316d964d7ce 100644 --- a/plotly/graph_objs/isosurface/hoverlabel/_font.py +++ b/plotly/graph_objs/isosurface/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/isosurface/legendgrouptitle/_font.py b/plotly/graph_objs/isosurface/legendgrouptitle/_font.py index b6294188f2e..f0634df27de 100644 --- a/plotly/graph_objs/isosurface/legendgrouptitle/_font.py +++ b/plotly/graph_objs/isosurface/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_activeselection.py b/plotly/graph_objs/layout/_activeselection.py index df8947603fd..35d7b4404b5 100644 --- a/plotly/graph_objs/layout/_activeselection.py +++ b/plotly/graph_objs/layout/_activeselection.py @@ -15,12 +15,15 @@ def fillcolor(self): """ Sets the color filling the active selection' interior. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_activeshape.py b/plotly/graph_objs/layout/_activeshape.py index e350187dc67..aa29d4aa1e0 100644 --- a/plotly/graph_objs/layout/_activeshape.py +++ b/plotly/graph_objs/layout/_activeshape.py @@ -15,12 +15,15 @@ def fillcolor(self): """ Sets the color filling the active shape' interior. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_annotation.py b/plotly/graph_objs/layout/_annotation.py index aad9079f49f..9f98a4884c7 100644 --- a/plotly/graph_objs/layout/_annotation.py +++ b/plotly/graph_objs/layout/_annotation.py @@ -81,12 +81,15 @@ def arrowcolor(self): """ Sets the color of the annotation arrow. - The 'arrowcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'arrowcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -305,12 +308,15 @@ def bgcolor(self): """ Sets the background color of the annotation. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -327,12 +333,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the annotation `text`. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_font.py b/plotly/graph_objs/layout/_font.py index 6b30b57bc87..35512753656 100644 --- a/plotly/graph_objs/layout/_font.py +++ b/plotly/graph_objs/layout/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_geo.py b/plotly/graph_objs/layout/_geo.py index 633644da29b..83cd965750c 100644 --- a/plotly/graph_objs/layout/_geo.py +++ b/plotly/graph_objs/layout/_geo.py @@ -48,12 +48,15 @@ def bgcolor(self): """ Set the background color of the map - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -89,12 +92,15 @@ def coastlinecolor(self): """ Sets the coastline color. - The 'coastlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'coastlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -129,12 +135,15 @@ def countrycolor(self): """ Sets line color of the country boundaries. - The 'countrycolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'countrycolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -220,12 +229,15 @@ def framecolor(self): """ Sets the color the frame. - The 'framecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'framecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -260,12 +272,15 @@ def lakecolor(self): """ Sets the color of the lakes. - The 'lakecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'lakecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -282,12 +297,15 @@ def landcolor(self): """ Sets the land mass color. - The 'landcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'landcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -342,12 +360,15 @@ def oceancolor(self): """ Sets the ocean color - The 'oceancolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'oceancolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -404,12 +425,15 @@ def rivercolor(self): """ Sets color of the rivers. - The 'rivercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'rivercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -609,12 +633,15 @@ def subunitcolor(self): """ Sets the color of the subunits boundaries. - The 'subunitcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'subunitcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_hoverlabel.py b/plotly/graph_objs/layout/_hoverlabel.py index 25dfa4c8741..0be763e3ba0 100644 --- a/plotly/graph_objs/layout/_hoverlabel.py +++ b/plotly/graph_objs/layout/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of all hover labels on graph - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -66,12 +69,15 @@ def bordercolor(self): """ Sets the border color of all hover labels on graph. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_legend.py b/plotly/graph_objs/layout/_legend.py index 88ff430e7f0..e761050c8b7 100644 --- a/plotly/graph_objs/layout/_legend.py +++ b/plotly/graph_objs/layout/_legend.py @@ -46,12 +46,15 @@ def bgcolor(self): Sets the legend background color. Defaults to `layout.paper_bgcolor`. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -68,12 +71,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the legend. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_modebar.py b/plotly/graph_objs/layout/_modebar.py index 2924d83b7bc..0a0a4df2d77 100644 --- a/plotly/graph_objs/layout/_modebar.py +++ b/plotly/graph_objs/layout/_modebar.py @@ -24,12 +24,15 @@ def activecolor(self): Sets the color of the active or hovered on icons in the modebar. - The 'activecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'activecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -72,12 +75,15 @@ def bgcolor(self): """ Sets the background color of the modebar. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -94,12 +100,15 @@ def color(self): """ Sets the color of the icons in the modebar. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_newshape.py b/plotly/graph_objs/layout/_newshape.py index 269a2586647..ef9e424c767 100644 --- a/plotly/graph_objs/layout/_newshape.py +++ b/plotly/graph_objs/layout/_newshape.py @@ -58,12 +58,15 @@ def fillcolor(self): the active shape starts moving the shape underneath, otherwise a new shape could be started over. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_polar.py b/plotly/graph_objs/layout/_polar.py index 51d76209a0d..859a5cc9a5b 100644 --- a/plotly/graph_objs/layout/_polar.py +++ b/plotly/graph_objs/layout/_polar.py @@ -88,12 +88,15 @@ def bgcolor(self): """ Set the background color of the subplot - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_scene.py b/plotly/graph_objs/layout/_scene.py index 2d08ae1b23b..aa838acb738 100644 --- a/plotly/graph_objs/layout/_scene.py +++ b/plotly/graph_objs/layout/_scene.py @@ -117,12 +117,15 @@ def aspectratio(self, val): @property def bgcolor(self): """ - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_shape.py b/plotly/graph_objs/layout/_shape.py index 7f7bf288c27..d985cb4e76a 100644 --- a/plotly/graph_objs/layout/_shape.py +++ b/plotly/graph_objs/layout/_shape.py @@ -69,12 +69,15 @@ def fillcolor(self): Sets the color filling the shape's interior. Only applies to closed shapes. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_slider.py b/plotly/graph_objs/layout/_slider.py index cfafd247901..4c663e678ce 100644 --- a/plotly/graph_objs/layout/_slider.py +++ b/plotly/graph_objs/layout/_slider.py @@ -59,12 +59,15 @@ def activebgcolor(self): """ Sets the background color of the slider grip while dragging. - The 'activebgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'activebgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -81,12 +84,15 @@ def bgcolor(self): """ Sets the background color of the slider. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -103,12 +109,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the slider. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -355,12 +364,15 @@ def tickcolor(self): """ Sets the color of the border enclosing the slider. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_smith.py b/plotly/graph_objs/layout/_smith.py index 061e67992a1..91650b316db 100644 --- a/plotly/graph_objs/layout/_smith.py +++ b/plotly/graph_objs/layout/_smith.py @@ -15,12 +15,15 @@ def bgcolor(self): """ Set the background color of the subplot - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_ternary.py b/plotly/graph_objs/layout/_ternary.py index c8cb58fbb9f..d2d69476341 100644 --- a/plotly/graph_objs/layout/_ternary.py +++ b/plotly/graph_objs/layout/_ternary.py @@ -53,12 +53,15 @@ def bgcolor(self): """ Set the background color of the subplot - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_updatemenu.py b/plotly/graph_objs/layout/_updatemenu.py index 2adb4566be8..d8f48a4ce67 100644 --- a/plotly/graph_objs/layout/_updatemenu.py +++ b/plotly/graph_objs/layout/_updatemenu.py @@ -54,12 +54,15 @@ def bgcolor(self): """ Sets the background color of the update menu buttons. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -76,12 +79,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the update menu. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_xaxis.py b/plotly/graph_objs/layout/_xaxis.py index 31b0f00192c..b72475b7c1d 100644 --- a/plotly/graph_objs/layout/_xaxis.py +++ b/plotly/graph_objs/layout/_xaxis.py @@ -336,12 +336,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -406,12 +409,15 @@ def dividercolor(self): Sets the color of the dividers Only has an effect on "multicategory" axes. - The 'dividercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'dividercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -553,12 +559,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -718,12 +727,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1389,12 +1401,15 @@ def spikecolor(self): """ Sets the spike color. If undefined, will use the series color - The 'spikecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'spikecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1544,12 +1559,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -2133,12 +2151,15 @@ def zerolinecolor(self): """ Sets the line color of the zero line. - The 'zerolinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'zerolinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/_yaxis.py b/plotly/graph_objs/layout/_yaxis.py index 8d3a9b9df6a..95c4f2048cd 100644 --- a/plotly/graph_objs/layout/_yaxis.py +++ b/plotly/graph_objs/layout/_yaxis.py @@ -358,12 +358,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -428,12 +431,15 @@ def dividercolor(self): Sets the color of the dividers Only has an effect on "multicategory" axes. - The 'dividercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'dividercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -575,12 +581,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -740,12 +749,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1397,12 +1409,15 @@ def spikecolor(self): """ Sets the spike color. If undefined, will use the series color - The 'spikecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'spikecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1552,12 +1567,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -2141,12 +2159,15 @@ def zerolinecolor(self): """ Sets the line color of the zero line. - The 'zerolinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'zerolinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/annotation/_font.py b/plotly/graph_objs/layout/annotation/_font.py index bda1706c7ba..ff713edcb43 100644 --- a/plotly/graph_objs/layout/annotation/_font.py +++ b/plotly/graph_objs/layout/annotation/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/annotation/_hoverlabel.py b/plotly/graph_objs/layout/annotation/_hoverlabel.py index ee847b297dd..a3200f622a0 100644 --- a/plotly/graph_objs/layout/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/annotation/_hoverlabel.py @@ -17,12 +17,15 @@ def bgcolor(self): the annotation's `bgcolor` made opaque, or white if it was transparent. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -41,12 +44,15 @@ def bordercolor(self): either dark grey or white, for maximum contrast with `hoverlabel.bgcolor`. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py index 6874277e3b6..cc380f82e9b 100644 --- a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/coloraxis/_colorbar.py b/plotly/graph_objs/layout/coloraxis/_colorbar.py index 8c3767800d5..1f1ffed0a4f 100644 --- a/plotly/graph_objs/layout/coloraxis/_colorbar.py +++ b/plotly/graph_objs/layout/coloraxis/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py b/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py index 9d37ed2d997..628b62d3c42 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py b/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py index c69838cee4a..7960105fb24 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/geo/_lataxis.py b/plotly/graph_objs/layout/geo/_lataxis.py index dd66e0e354d..3c7464e3d89 100644 --- a/plotly/graph_objs/layout/geo/_lataxis.py +++ b/plotly/graph_objs/layout/geo/_lataxis.py @@ -41,12 +41,15 @@ def gridcolor(self): """ Sets the graticule's stroke color. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/geo/_lonaxis.py b/plotly/graph_objs/layout/geo/_lonaxis.py index 731b8a5f814..47cc03a2119 100644 --- a/plotly/graph_objs/layout/geo/_lonaxis.py +++ b/plotly/graph_objs/layout/geo/_lonaxis.py @@ -41,12 +41,15 @@ def gridcolor(self): """ Sets the graticule's stroke color. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/hoverlabel/_font.py b/plotly/graph_objs/layout/hoverlabel/_font.py index 9da73a7cf04..c8550f6dc67 100644 --- a/plotly/graph_objs/layout/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py b/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py index b90e974f83b..fe2a96ee276 100644 --- a/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py +++ b/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py @@ -23,12 +23,15 @@ class Grouptitlefont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/legend/_font.py b/plotly/graph_objs/layout/legend/_font.py index 5cfb85e00f4..b9b11a37caa 100644 --- a/plotly/graph_objs/layout/legend/_font.py +++ b/plotly/graph_objs/layout/legend/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/legend/_grouptitlefont.py b/plotly/graph_objs/layout/legend/_grouptitlefont.py index cc784c42fe0..bb65e0d750c 100644 --- a/plotly/graph_objs/layout/legend/_grouptitlefont.py +++ b/plotly/graph_objs/layout/legend/_grouptitlefont.py @@ -23,12 +23,15 @@ class Grouptitlefont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/legend/title/_font.py b/plotly/graph_objs/layout/legend/title/_font.py index 988ffc8c0f2..231465fc2f6 100644 --- a/plotly/graph_objs/layout/legend/title/_font.py +++ b/plotly/graph_objs/layout/legend/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/map/_layer.py b/plotly/graph_objs/layout/map/_layer.py index dc4f067c149..72c9b4327b2 100644 --- a/plotly/graph_objs/layout/map/_layer.py +++ b/plotly/graph_objs/layout/map/_layer.py @@ -80,12 +80,15 @@ def color(self): `type` is "symbol", color corresponds to the icon color (map.layer.paint.icon-color) - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/map/layer/_fill.py b/plotly/graph_objs/layout/map/layer/_fill.py index 2c82cdd67ee..6ebdcb3aba2 100644 --- a/plotly/graph_objs/layout/map/layer/_fill.py +++ b/plotly/graph_objs/layout/map/layer/_fill.py @@ -16,12 +16,15 @@ def outlinecolor(self): Sets the fill outline color (map.layer.paint.fill-outline- color). Has an effect only when `type` is set to "fill". - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/map/layer/symbol/_textfont.py b/plotly/graph_objs/layout/map/layer/symbol/_textfont.py index 07456ea4a38..7195a6ed50f 100644 --- a/plotly/graph_objs/layout/map/layer/symbol/_textfont.py +++ b/plotly/graph_objs/layout/map/layer/symbol/_textfont.py @@ -13,12 +13,15 @@ class Textfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/newselection/_line.py b/plotly/graph_objs/layout/newselection/_line.py index b7d64201ec5..0cd061f724b 100644 --- a/plotly/graph_objs/layout/newselection/_line.py +++ b/plotly/graph_objs/layout/newselection/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the line color. By default uses either dark grey or white to increase contrast with background color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/newshape/_line.py b/plotly/graph_objs/layout/newshape/_line.py index 9a679d80c74..32aa564d134 100644 --- a/plotly/graph_objs/layout/newshape/_line.py +++ b/plotly/graph_objs/layout/newshape/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the line color. By default uses either dark grey or white to increase contrast with background color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/newshape/label/_font.py b/plotly/graph_objs/layout/newshape/label/_font.py index 9b2ee7eb7c1..62bc4b3aa7c 100644 --- a/plotly/graph_objs/layout/newshape/label/_font.py +++ b/plotly/graph_objs/layout/newshape/label/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py b/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py index 7d7e4842434..36666ff5e25 100644 --- a/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py +++ b/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/polar/_angularaxis.py b/plotly/graph_objs/layout/polar/_angularaxis.py index 077e513481a..e5b353ba54a 100644 --- a/plotly/graph_objs/layout/polar/_angularaxis.py +++ b/plotly/graph_objs/layout/polar/_angularaxis.py @@ -147,12 +147,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -252,12 +255,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -393,12 +399,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -743,12 +752,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/polar/_radialaxis.py b/plotly/graph_objs/layout/polar/_radialaxis.py index a84049509e6..9bd436b815c 100644 --- a/plotly/graph_objs/layout/polar/_radialaxis.py +++ b/plotly/graph_objs/layout/polar/_radialaxis.py @@ -275,12 +275,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -361,12 +364,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -502,12 +508,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -895,12 +904,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py index d2e075c14af..3b827fa9992 100644 --- a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py index 2e7310d55e0..ccf9508a7e8 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/polar/radialaxis/title/_font.py b/plotly/graph_objs/layout/polar/radialaxis/title/_font.py index e4b6db357f3..26cad816a4a 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/title/_font.py +++ b/plotly/graph_objs/layout/polar/radialaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/_annotation.py b/plotly/graph_objs/layout/scene/_annotation.py index 315bb85c572..8273130ebb6 100644 --- a/plotly/graph_objs/layout/scene/_annotation.py +++ b/plotly/graph_objs/layout/scene/_annotation.py @@ -75,12 +75,15 @@ def arrowcolor(self): """ Sets the color of the annotation arrow. - The 'arrowcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'arrowcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -213,12 +216,15 @@ def bgcolor(self): """ Sets the background color of the annotation. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -235,12 +241,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the annotation `text`. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/_xaxis.py b/plotly/graph_objs/layout/scene/_xaxis.py index 15f3544f1db..a60ebde6797 100644 --- a/plotly/graph_objs/layout/scene/_xaxis.py +++ b/plotly/graph_objs/layout/scene/_xaxis.py @@ -143,12 +143,15 @@ def backgroundcolor(self): """ Sets the background color of this axis' wall. - The 'backgroundcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'backgroundcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -252,12 +255,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -338,12 +344,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -431,12 +440,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -814,12 +826,15 @@ def spikecolor(self): """ Sets the color of the spikes. - The 'spikecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'spikecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -920,12 +935,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1273,12 +1291,15 @@ def zerolinecolor(self): """ Sets the line color of the zero line. - The 'zerolinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'zerolinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/_yaxis.py b/plotly/graph_objs/layout/scene/_yaxis.py index 11c28f9ad13..b334ee27122 100644 --- a/plotly/graph_objs/layout/scene/_yaxis.py +++ b/plotly/graph_objs/layout/scene/_yaxis.py @@ -143,12 +143,15 @@ def backgroundcolor(self): """ Sets the background color of this axis' wall. - The 'backgroundcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'backgroundcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -252,12 +255,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -338,12 +344,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -431,12 +440,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -814,12 +826,15 @@ def spikecolor(self): """ Sets the color of the spikes. - The 'spikecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'spikecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -920,12 +935,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1273,12 +1291,15 @@ def zerolinecolor(self): """ Sets the line color of the zero line. - The 'zerolinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'zerolinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/_zaxis.py b/plotly/graph_objs/layout/scene/_zaxis.py index d44da2997e6..c55e9db1f64 100644 --- a/plotly/graph_objs/layout/scene/_zaxis.py +++ b/plotly/graph_objs/layout/scene/_zaxis.py @@ -143,12 +143,15 @@ def backgroundcolor(self): """ Sets the background color of this axis' wall. - The 'backgroundcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'backgroundcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -252,12 +255,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -338,12 +344,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -431,12 +440,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -814,12 +826,15 @@ def spikecolor(self): """ Sets the color of the spikes. - The 'spikecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'spikecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -920,12 +935,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -1273,12 +1291,15 @@ def zerolinecolor(self): """ Sets the line color of the zero line. - The 'zerolinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'zerolinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/annotation/_font.py b/plotly/graph_objs/layout/scene/annotation/_font.py index e64d205994f..1c0c8be593d 100644 --- a/plotly/graph_objs/layout/scene/annotation/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py index 32232be169f..c3171d58d15 100644 --- a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py @@ -17,12 +17,15 @@ def bgcolor(self): the annotation's `bgcolor` made opaque, or white if it was transparent. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -41,12 +44,15 @@ def bordercolor(self): either dark grey or white, for maximum contrast with `hoverlabel.bgcolor`. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py index f7baf19f207..b904afe91ec 100644 --- a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py index 2646213c633..f2b70abb9e2 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/xaxis/title/_font.py b/plotly/graph_objs/layout/scene/xaxis/title/_font.py index d5f28f48c2c..e473ea13095 100644 --- a/plotly/graph_objs/layout/scene/xaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/xaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py index 7639b1122f0..ecc22213d35 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/yaxis/title/_font.py b/plotly/graph_objs/layout/scene/yaxis/title/_font.py index 4f33dc20305..1bc9e81167d 100644 --- a/plotly/graph_objs/layout/scene/yaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/yaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py index 9082eb10ce3..f9711dccd7b 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/scene/zaxis/title/_font.py b/plotly/graph_objs/layout/scene/zaxis/title/_font.py index e64e822d383..8ac4326d9cf 100644 --- a/plotly/graph_objs/layout/scene/zaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/zaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/selection/_line.py b/plotly/graph_objs/layout/selection/_line.py index aeecc179375..57e17c6802c 100644 --- a/plotly/graph_objs/layout/selection/_line.py +++ b/plotly/graph_objs/layout/selection/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/shape/_line.py b/plotly/graph_objs/layout/shape/_line.py index b59b47232f5..0ccc054b519 100644 --- a/plotly/graph_objs/layout/shape/_line.py +++ b/plotly/graph_objs/layout/shape/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/shape/label/_font.py b/plotly/graph_objs/layout/shape/label/_font.py index dc226dec9a8..619539cc74d 100644 --- a/plotly/graph_objs/layout/shape/label/_font.py +++ b/plotly/graph_objs/layout/shape/label/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py b/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py index 7a6fee899c9..6aa1439c6f1 100644 --- a/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py +++ b/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/slider/_font.py b/plotly/graph_objs/layout/slider/_font.py index 34b75a52c03..f72e184cd45 100644 --- a/plotly/graph_objs/layout/slider/_font.py +++ b/plotly/graph_objs/layout/slider/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/slider/currentvalue/_font.py b/plotly/graph_objs/layout/slider/currentvalue/_font.py index c091874f59b..24f4ceeabc7 100644 --- a/plotly/graph_objs/layout/slider/currentvalue/_font.py +++ b/plotly/graph_objs/layout/slider/currentvalue/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/smith/_imaginaryaxis.py b/plotly/graph_objs/layout/smith/_imaginaryaxis.py index 3ed62d72c94..a98b5ef851a 100644 --- a/plotly/graph_objs/layout/smith/_imaginaryaxis.py +++ b/plotly/graph_objs/layout/smith/_imaginaryaxis.py @@ -43,12 +43,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -65,12 +68,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -206,12 +212,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -342,12 +351,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/smith/_realaxis.py b/plotly/graph_objs/layout/smith/_realaxis.py index 883deb1d183..6f71d670d6d 100644 --- a/plotly/graph_objs/layout/smith/_realaxis.py +++ b/plotly/graph_objs/layout/smith/_realaxis.py @@ -45,12 +45,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -67,12 +70,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -208,12 +214,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -386,12 +395,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py b/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py index c5228bc734c..fdf8080605e 100644 --- a/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py +++ b/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/smith/realaxis/_tickfont.py b/plotly/graph_objs/layout/smith/realaxis/_tickfont.py index bbb5a9de6e6..32a63aaf21a 100644 --- a/plotly/graph_objs/layout/smith/realaxis/_tickfont.py +++ b/plotly/graph_objs/layout/smith/realaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/_aaxis.py b/plotly/graph_objs/layout/ternary/_aaxis.py index 1986a850027..44c5451c12f 100644 --- a/plotly/graph_objs/layout/ternary/_aaxis.py +++ b/plotly/graph_objs/layout/ternary/_aaxis.py @@ -58,12 +58,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -144,12 +147,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -285,12 +291,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -569,12 +578,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/_baxis.py b/plotly/graph_objs/layout/ternary/_baxis.py index 73530050b31..565116918d3 100644 --- a/plotly/graph_objs/layout/ternary/_baxis.py +++ b/plotly/graph_objs/layout/ternary/_baxis.py @@ -58,12 +58,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -144,12 +147,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -285,12 +291,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -569,12 +578,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/_caxis.py b/plotly/graph_objs/layout/ternary/_caxis.py index e01ed712b60..100c400e7fe 100644 --- a/plotly/graph_objs/layout/ternary/_caxis.py +++ b/plotly/graph_objs/layout/ternary/_caxis.py @@ -58,12 +58,15 @@ def color(self): lightened by blending this with the plot background Individual pieces can override this. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -144,12 +147,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -285,12 +291,15 @@ def linecolor(self): """ Sets the axis line color. - The 'linecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'linecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -569,12 +578,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py index 3a39496b438..91abc93e44c 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/aaxis/title/_font.py b/plotly/graph_objs/layout/ternary/aaxis/title/_font.py index aaac0bc4903..6ac468bec06 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/aaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py index 3be0a6333b9..241fc5e3d86 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/baxis/title/_font.py b/plotly/graph_objs/layout/ternary/baxis/title/_font.py index 0f64e5df54c..24590bec927 100644 --- a/plotly/graph_objs/layout/ternary/baxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/baxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py index 765f43866a3..cb0e6cb2ac9 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/ternary/caxis/title/_font.py b/plotly/graph_objs/layout/ternary/caxis/title/_font.py index 8a1b6fd7100..e5e2f014ab2 100644 --- a/plotly/graph_objs/layout/ternary/caxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/caxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/title/_font.py b/plotly/graph_objs/layout/title/_font.py index 21efdd6c895..1d5df6f6835 100644 --- a/plotly/graph_objs/layout/title/_font.py +++ b/plotly/graph_objs/layout/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/title/subtitle/_font.py b/plotly/graph_objs/layout/title/subtitle/_font.py index c381ca715e4..7da48fed203 100644 --- a/plotly/graph_objs/layout/title/subtitle/_font.py +++ b/plotly/graph_objs/layout/title/subtitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/updatemenu/_font.py b/plotly/graph_objs/layout/updatemenu/_font.py index 58cabad7e4c..098b364e8a3 100644 --- a/plotly/graph_objs/layout/updatemenu/_font.py +++ b/plotly/graph_objs/layout/updatemenu/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/_minor.py b/plotly/graph_objs/layout/xaxis/_minor.py index 7e473f85160..7695588d199 100644 --- a/plotly/graph_objs/layout/xaxis/_minor.py +++ b/plotly/graph_objs/layout/xaxis/_minor.py @@ -65,12 +65,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -195,12 +198,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/_rangeselector.py b/plotly/graph_objs/layout/xaxis/_rangeselector.py index 7c61c3dbb30..fbd623f6dfb 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeselector.py +++ b/plotly/graph_objs/layout/xaxis/_rangeselector.py @@ -28,12 +28,15 @@ def activecolor(self): """ Sets the background color of the active range selector button. - The 'activecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'activecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -50,12 +53,15 @@ def bgcolor(self): """ Sets the background color of the range selector buttons. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -72,12 +78,15 @@ def bordercolor(self): """ Sets the color of the border enclosing the range selector. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/_rangeslider.py b/plotly/graph_objs/layout/xaxis/_rangeslider.py index ec1e353ea26..03bb34be968 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeslider.py +++ b/plotly/graph_objs/layout/xaxis/_rangeslider.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the range slider. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -66,12 +69,15 @@ def bordercolor(self): """ Sets the border color of the range slider. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/_tickfont.py b/plotly/graph_objs/layout/xaxis/_tickfont.py index 3347daea9f1..13d88f2f69b 100644 --- a/plotly/graph_objs/layout/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/xaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py index ee3830536f8..58523c07ea5 100644 --- a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py +++ b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/xaxis/title/_font.py b/plotly/graph_objs/layout/xaxis/title/_font.py index d812203e3f3..74f19b6cb02 100644 --- a/plotly/graph_objs/layout/xaxis/title/_font.py +++ b/plotly/graph_objs/layout/xaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/yaxis/_minor.py b/plotly/graph_objs/layout/yaxis/_minor.py index 193469620e8..a548d50e1bf 100644 --- a/plotly/graph_objs/layout/yaxis/_minor.py +++ b/plotly/graph_objs/layout/yaxis/_minor.py @@ -65,12 +65,15 @@ def gridcolor(self): """ Sets the color of the grid lines. - The 'gridcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'gridcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -195,12 +198,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/yaxis/_tickfont.py b/plotly/graph_objs/layout/yaxis/_tickfont.py index 2add93d012f..7d56af87fb5 100644 --- a/plotly/graph_objs/layout/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/yaxis/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/layout/yaxis/title/_font.py b/plotly/graph_objs/layout/yaxis/title/_font.py index 1bb2a037da0..e71f5485982 100644 --- a/plotly/graph_objs/layout/yaxis/title/_font.py +++ b/plotly/graph_objs/layout/yaxis/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseLayoutHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/mesh3d/_colorbar.py b/plotly/graph_objs/mesh3d/_colorbar.py index d96d35e325f..7f2d14c6fa8 100644 --- a/plotly/graph_objs/mesh3d/_colorbar.py +++ b/plotly/graph_objs/mesh3d/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/mesh3d/_contour.py b/plotly/graph_objs/mesh3d/_contour.py index fd831f39e53..82ae20130d4 100644 --- a/plotly/graph_objs/mesh3d/_contour.py +++ b/plotly/graph_objs/mesh3d/_contour.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/mesh3d/_hoverlabel.py b/plotly/graph_objs/mesh3d/_hoverlabel.py index 7848aae1ebf..2dd2f721983 100644 --- a/plotly/graph_objs/mesh3d/_hoverlabel.py +++ b/plotly/graph_objs/mesh3d/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py index 118ea838d8d..31a9a2e38d1 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py +++ b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/mesh3d/colorbar/title/_font.py b/plotly/graph_objs/mesh3d/colorbar/title/_font.py index 50b134d545c..25014dffebf 100644 --- a/plotly/graph_objs/mesh3d/colorbar/title/_font.py +++ b/plotly/graph_objs/mesh3d/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/mesh3d/hoverlabel/_font.py b/plotly/graph_objs/mesh3d/hoverlabel/_font.py index dae9e269d78..382a58a3d14 100644 --- a/plotly/graph_objs/mesh3d/hoverlabel/_font.py +++ b/plotly/graph_objs/mesh3d/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py b/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py index 319ec9de034..e5609c267d0 100644 --- a/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/ohlc/_hoverlabel.py b/plotly/graph_objs/ohlc/_hoverlabel.py index 03de586c68e..174af28522a 100644 --- a/plotly/graph_objs/ohlc/_hoverlabel.py +++ b/plotly/graph_objs/ohlc/_hoverlabel.py @@ -45,12 +45,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -68,12 +71,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/ohlc/decreasing/_line.py b/plotly/graph_objs/ohlc/decreasing/_line.py index 55ec4c4f5e3..3340c478f51 100644 --- a/plotly/graph_objs/ohlc/decreasing/_line.py +++ b/plotly/graph_objs/ohlc/decreasing/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/ohlc/hoverlabel/_font.py b/plotly/graph_objs/ohlc/hoverlabel/_font.py index a870ddbd552..234d5ad6a35 100644 --- a/plotly/graph_objs/ohlc/hoverlabel/_font.py +++ b/plotly/graph_objs/ohlc/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/ohlc/increasing/_line.py b/plotly/graph_objs/ohlc/increasing/_line.py index 567f9cf0167..0a534a14230 100644 --- a/plotly/graph_objs/ohlc/increasing/_line.py +++ b/plotly/graph_objs/ohlc/increasing/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/ohlc/legendgrouptitle/_font.py b/plotly/graph_objs/ohlc/legendgrouptitle/_font.py index fa2f50eb8c0..4f7f1a35e18 100644 --- a/plotly/graph_objs/ohlc/legendgrouptitle/_font.py +++ b/plotly/graph_objs/ohlc/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/_labelfont.py b/plotly/graph_objs/parcats/_labelfont.py index deb487f1310..cf580431ffa 100644 --- a/plotly/graph_objs/parcats/_labelfont.py +++ b/plotly/graph_objs/parcats/_labelfont.py @@ -23,12 +23,15 @@ class Labelfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/_line.py b/plotly/graph_objs/parcats/_line.py index dea9e13ab09..6631327f59a 100644 --- a/plotly/graph_objs/parcats/_line.py +++ b/plotly/graph_objs/parcats/_line.py @@ -143,12 +143,15 @@ def color(self): the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to parcats.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/parcats/_tickfont.py b/plotly/graph_objs/parcats/_tickfont.py index 136f026e7d0..be56df0a63f 100644 --- a/plotly/graph_objs/parcats/_tickfont.py +++ b/plotly/graph_objs/parcats/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/legendgrouptitle/_font.py b/plotly/graph_objs/parcats/legendgrouptitle/_font.py index bdee87396b9..4ac14401743 100644 --- a/plotly/graph_objs/parcats/legendgrouptitle/_font.py +++ b/plotly/graph_objs/parcats/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/line/_colorbar.py b/plotly/graph_objs/parcats/line/_colorbar.py index f33b196d241..ef513d7c133 100644 --- a/plotly/graph_objs/parcats/line/_colorbar.py +++ b/plotly/graph_objs/parcats/line/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/line/colorbar/_tickfont.py b/plotly/graph_objs/parcats/line/colorbar/_tickfont.py index 1022c88f984..d9261a59e9c 100644 --- a/plotly/graph_objs/parcats/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/parcats/line/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcats/line/colorbar/title/_font.py b/plotly/graph_objs/parcats/line/colorbar/title/_font.py index 465ad95736b..fbfc43ca6d1 100644 --- a/plotly/graph_objs/parcats/line/colorbar/title/_font.py +++ b/plotly/graph_objs/parcats/line/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/_labelfont.py b/plotly/graph_objs/parcoords/_labelfont.py index 1219b9ba2da..09c7755f11a 100644 --- a/plotly/graph_objs/parcoords/_labelfont.py +++ b/plotly/graph_objs/parcoords/_labelfont.py @@ -23,12 +23,15 @@ class Labelfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/_line.py b/plotly/graph_objs/parcoords/_line.py index 73943178912..cb4fe26470f 100644 --- a/plotly/graph_objs/parcoords/_line.py +++ b/plotly/graph_objs/parcoords/_line.py @@ -140,12 +140,15 @@ def color(self): the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to parcoords.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/parcoords/_rangefont.py b/plotly/graph_objs/parcoords/_rangefont.py index 9c8c061a7cd..82e459ae475 100644 --- a/plotly/graph_objs/parcoords/_rangefont.py +++ b/plotly/graph_objs/parcoords/_rangefont.py @@ -23,12 +23,15 @@ class Rangefont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/_tickfont.py b/plotly/graph_objs/parcoords/_tickfont.py index a37709c556d..ecf8feb3fb5 100644 --- a/plotly/graph_objs/parcoords/_tickfont.py +++ b/plotly/graph_objs/parcoords/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/legendgrouptitle/_font.py b/plotly/graph_objs/parcoords/legendgrouptitle/_font.py index 5db0c50c4be..9298a820e91 100644 --- a/plotly/graph_objs/parcoords/legendgrouptitle/_font.py +++ b/plotly/graph_objs/parcoords/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/line/_colorbar.py b/plotly/graph_objs/parcoords/line/_colorbar.py index 0d7aab7aefc..16bcacf5073 100644 --- a/plotly/graph_objs/parcoords/line/_colorbar.py +++ b/plotly/graph_objs/parcoords/line/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py index 3b4f2d394d4..d23c882fbcc 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/line/colorbar/title/_font.py b/plotly/graph_objs/parcoords/line/colorbar/title/_font.py index 35f319952a3..b311a93625b 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/title/_font.py +++ b/plotly/graph_objs/parcoords/line/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/parcoords/unselected/_line.py b/plotly/graph_objs/parcoords/unselected/_line.py index 0f340942f79..757cf3f1c0e 100644 --- a/plotly/graph_objs/parcoords/unselected/_line.py +++ b/plotly/graph_objs/parcoords/unselected/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the base color of unselected lines. in connection with `unselected.line.opacity`. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/pie/_hoverlabel.py b/plotly/graph_objs/pie/_hoverlabel.py index e54ada45361..7428c50111a 100644 --- a/plotly/graph_objs/pie/_hoverlabel.py +++ b/plotly/graph_objs/pie/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/_insidetextfont.py b/plotly/graph_objs/pie/_insidetextfont.py index 3141959fb32..f906716ef55 100644 --- a/plotly/graph_objs/pie/_insidetextfont.py +++ b/plotly/graph_objs/pie/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/_outsidetextfont.py b/plotly/graph_objs/pie/_outsidetextfont.py index a339b93071d..d1b933eac7e 100644 --- a/plotly/graph_objs/pie/_outsidetextfont.py +++ b/plotly/graph_objs/pie/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/_textfont.py b/plotly/graph_objs/pie/_textfont.py index 656c74248b0..7e499213614 100644 --- a/plotly/graph_objs/pie/_textfont.py +++ b/plotly/graph_objs/pie/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/hoverlabel/_font.py b/plotly/graph_objs/pie/hoverlabel/_font.py index e48ea40e8c5..8988710fda9 100644 --- a/plotly/graph_objs/pie/hoverlabel/_font.py +++ b/plotly/graph_objs/pie/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/legendgrouptitle/_font.py b/plotly/graph_objs/pie/legendgrouptitle/_font.py index 4191b4e896a..cb7f9edb871 100644 --- a/plotly/graph_objs/pie/legendgrouptitle/_font.py +++ b/plotly/graph_objs/pie/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/pie/marker/_line.py b/plotly/graph_objs/pie/marker/_line.py index 126048dd078..24b3348f223 100644 --- a/plotly/graph_objs/pie/marker/_line.py +++ b/plotly/graph_objs/pie/marker/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the line enclosing each sector. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/marker/_pattern.py b/plotly/graph_objs/pie/marker/_pattern.py index 43d506d531a..4cb07812245 100644 --- a/plotly/graph_objs/pie/marker/_pattern.py +++ b/plotly/graph_objs/pie/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/pie/title/_font.py b/plotly/graph_objs/pie/title/_font.py index d6d69f05c0d..933a221b845 100644 --- a/plotly/graph_objs/pie/title/_font.py +++ b/plotly/graph_objs/pie/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/quiver/_hoverlabel.py b/plotly/graph_objs/quiver/_hoverlabel.py index 308a486091b..70fd5c119fa 100644 --- a/plotly/graph_objs/quiver/_hoverlabel.py +++ b/plotly/graph_objs/quiver/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/quiver/_marker.py b/plotly/graph_objs/quiver/_marker.py index c2375d3c6d4..a9b68b45b44 100644 --- a/plotly/graph_objs/quiver/_marker.py +++ b/plotly/graph_objs/quiver/_marker.py @@ -163,12 +163,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to quiver.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/quiver/_textfont.py b/plotly/graph_objs/quiver/_textfont.py index 41ae5a7c6f9..a59ae1e0190 100644 --- a/plotly/graph_objs/quiver/_textfont.py +++ b/plotly/graph_objs/quiver/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/quiver/hoverlabel/_font.py b/plotly/graph_objs/quiver/hoverlabel/_font.py index f3cd1aeb94f..2468dbcbae6 100644 --- a/plotly/graph_objs/quiver/hoverlabel/_font.py +++ b/plotly/graph_objs/quiver/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/quiver/legendgrouptitle/_font.py b/plotly/graph_objs/quiver/legendgrouptitle/_font.py index 3bb8c3f9a79..3cdb3f9a85f 100644 --- a/plotly/graph_objs/quiver/legendgrouptitle/_font.py +++ b/plotly/graph_objs/quiver/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/marker/_colorbar.py b/plotly/graph_objs/quiver/marker/_colorbar.py index ed7280350b0..42e86c133b4 100644 --- a/plotly/graph_objs/quiver/marker/_colorbar.py +++ b/plotly/graph_objs/quiver/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/marker/colorbar/_tickfont.py b/plotly/graph_objs/quiver/marker/colorbar/_tickfont.py index e53e207b469..35d95d6322b 100644 --- a/plotly/graph_objs/quiver/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/quiver/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/marker/colorbar/title/_font.py b/plotly/graph_objs/quiver/marker/colorbar/title/_font.py index 1c5d8a0ec73..65d260d2a8a 100644 --- a/plotly/graph_objs/quiver/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/quiver/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/selected/_marker.py b/plotly/graph_objs/quiver/selected/_marker.py index f168b27e91e..be1acf59522 100644 --- a/plotly/graph_objs/quiver/selected/_marker.py +++ b/plotly/graph_objs/quiver/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/selected/_textfont.py b/plotly/graph_objs/quiver/selected/_textfont.py index 2f7e33b5b28..ccefc929467 100644 --- a/plotly/graph_objs/quiver/selected/_textfont.py +++ b/plotly/graph_objs/quiver/selected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of selected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/unselected/_marker.py b/plotly/graph_objs/quiver/unselected/_marker.py index 7158595e08c..f31772e9547 100644 --- a/plotly/graph_objs/quiver/unselected/_marker.py +++ b/plotly/graph_objs/quiver/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/quiver/unselected/_textfont.py b/plotly/graph_objs/quiver/unselected/_textfont.py index 569ae37b114..52df17c04d4 100644 --- a/plotly/graph_objs/quiver/unselected/_textfont.py +++ b/plotly/graph_objs/quiver/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sankey/_hoverlabel.py b/plotly/graph_objs/sankey/_hoverlabel.py index e29c4affb02..16380bababb 100644 --- a/plotly/graph_objs/sankey/_hoverlabel.py +++ b/plotly/graph_objs/sankey/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/_link.py b/plotly/graph_objs/sankey/_link.py index bc024e43171..b46fc271715 100644 --- a/plotly/graph_objs/sankey/_link.py +++ b/plotly/graph_objs/sankey/_link.py @@ -53,12 +53,15 @@ def color(self): for specifying color for each `link`. If `link.color` is omitted, then by default, a translucent grey link will be used. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -140,12 +143,15 @@ def hovercolor(self): `link.hovercolor` is omitted, then by default, links will become slightly more opaque when hovered over. - The 'hovercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'hovercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/_node.py b/plotly/graph_objs/sankey/_node.py index 204d5fa1df7..205892071c9 100644 --- a/plotly/graph_objs/sankey/_node.py +++ b/plotly/graph_objs/sankey/_node.py @@ -56,12 +56,15 @@ def color(self): fully opaque, to allow some visibility of what is beneath the node. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/_textfont.py b/plotly/graph_objs/sankey/_textfont.py index e70ef1f3074..f58df1d24de 100644 --- a/plotly/graph_objs/sankey/_textfont.py +++ b/plotly/graph_objs/sankey/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sankey/hoverlabel/_font.py b/plotly/graph_objs/sankey/hoverlabel/_font.py index c3cb342f7ed..4f79e26bfc1 100644 --- a/plotly/graph_objs/sankey/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/legendgrouptitle/_font.py b/plotly/graph_objs/sankey/legendgrouptitle/_font.py index f7da2befb76..42ce2212dc3 100644 --- a/plotly/graph_objs/sankey/legendgrouptitle/_font.py +++ b/plotly/graph_objs/sankey/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sankey/link/_hoverlabel.py b/plotly/graph_objs/sankey/link/_hoverlabel.py index 02beb63f586..96b44e27faf 100644 --- a/plotly/graph_objs/sankey/link/_hoverlabel.py +++ b/plotly/graph_objs/sankey/link/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/link/_line.py b/plotly/graph_objs/sankey/link/_line.py index 66900dad604..8e64a7b6409 100644 --- a/plotly/graph_objs/sankey/link/_line.py +++ b/plotly/graph_objs/sankey/link/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the `line` around each `link`. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/link/hoverlabel/_font.py b/plotly/graph_objs/sankey/link/hoverlabel/_font.py index baf13d62435..6e1be067c38 100644 --- a/plotly/graph_objs/sankey/link/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/link/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/node/_hoverlabel.py b/plotly/graph_objs/sankey/node/_hoverlabel.py index fd107d1947d..ad7632bcae4 100644 --- a/plotly/graph_objs/sankey/node/_hoverlabel.py +++ b/plotly/graph_objs/sankey/node/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/node/_line.py b/plotly/graph_objs/sankey/node/_line.py index 4f26ef57785..460a1d8b89b 100644 --- a/plotly/graph_objs/sankey/node/_line.py +++ b/plotly/graph_objs/sankey/node/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the `line` around each `node`. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sankey/node/hoverlabel/_font.py b/plotly/graph_objs/sankey/node/hoverlabel/_font.py index fc53fba2f9e..56813e856c1 100644 --- a/plotly/graph_objs/sankey/node/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/node/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/_error_x.py b/plotly/graph_objs/scatter/_error_x.py index 098c7faa1d3..a789cfecb1c 100644 --- a/plotly/graph_objs/scatter/_error_x.py +++ b/plotly/graph_objs/scatter/_error_x.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/_error_y.py b/plotly/graph_objs/scatter/_error_y.py index bd1ee609e63..9aa029e10e9 100644 --- a/plotly/graph_objs/scatter/_error_y.py +++ b/plotly/graph_objs/scatter/_error_y.py @@ -67,12 +67,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/_fillpattern.py b/plotly/graph_objs/scatter/_fillpattern.py index 465207df170..df52ba84865 100644 --- a/plotly/graph_objs/scatter/_fillpattern.py +++ b/plotly/graph_objs/scatter/_fillpattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/_hoverlabel.py b/plotly/graph_objs/scatter/_hoverlabel.py index 061a4e65603..509dc542ee4 100644 --- a/plotly/graph_objs/scatter/_hoverlabel.py +++ b/plotly/graph_objs/scatter/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/_line.py b/plotly/graph_objs/scatter/_line.py index 9cd4646e1c2..64a1be0137c 100644 --- a/plotly/graph_objs/scatter/_line.py +++ b/plotly/graph_objs/scatter/_line.py @@ -45,12 +45,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/_marker.py b/plotly/graph_objs/scatter/_marker.py index 2cabc6f4a93..42da34bd8e2 100644 --- a/plotly/graph_objs/scatter/_marker.py +++ b/plotly/graph_objs/scatter/_marker.py @@ -194,12 +194,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatter.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatter/_textfont.py b/plotly/graph_objs/scatter/_textfont.py index 906c3a875f4..0aa5bcc7b51 100644 --- a/plotly/graph_objs/scatter/_textfont.py +++ b/plotly/graph_objs/scatter/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/hoverlabel/_font.py b/plotly/graph_objs/scatter/hoverlabel/_font.py index 87ab0784de4..bb0223bdd6e 100644 --- a/plotly/graph_objs/scatter/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/legendgrouptitle/_font.py b/plotly/graph_objs/scatter/legendgrouptitle/_font.py index fd5fde9d7f4..5fa6262c8fd 100644 --- a/plotly/graph_objs/scatter/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatter/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/marker/_colorbar.py b/plotly/graph_objs/scatter/marker/_colorbar.py index d172526a0f8..2330eb58232 100644 --- a/plotly/graph_objs/scatter/marker/_colorbar.py +++ b/plotly/graph_objs/scatter/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/marker/_gradient.py b/plotly/graph_objs/scatter/marker/_gradient.py index 45c6c11f404..972894aba96 100644 --- a/plotly/graph_objs/scatter/marker/_gradient.py +++ b/plotly/graph_objs/scatter/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter/marker/_line.py b/plotly/graph_objs/scatter/marker/_line.py index b2829a87266..1a527017b28 100644 --- a/plotly/graph_objs/scatter/marker/_line.py +++ b/plotly/graph_objs/scatter/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatter.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py index 9148b750025..83021c3f39d 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/marker/colorbar/title/_font.py b/plotly/graph_objs/scatter/marker/colorbar/title/_font.py index 91fe7749e58..96dcffe2c10 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/selected/_marker.py b/plotly/graph_objs/scatter/selected/_marker.py index 6eb0a98bec2..8ad09d471b4 100644 --- a/plotly/graph_objs/scatter/selected/_marker.py +++ b/plotly/graph_objs/scatter/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/selected/_textfont.py b/plotly/graph_objs/scatter/selected/_textfont.py index 75424c16390..aef09ef2280 100644 --- a/plotly/graph_objs/scatter/selected/_textfont.py +++ b/plotly/graph_objs/scatter/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/unselected/_marker.py b/plotly/graph_objs/scatter/unselected/_marker.py index dce5658bb22..154bd76869e 100644 --- a/plotly/graph_objs/scatter/unselected/_marker.py +++ b/plotly/graph_objs/scatter/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter/unselected/_textfont.py b/plotly/graph_objs/scatter/unselected/_textfont.py index 63e170796d4..fb5f331302e 100644 --- a/plotly/graph_objs/scatter/unselected/_textfont.py +++ b/plotly/graph_objs/scatter/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/_error_x.py b/plotly/graph_objs/scatter3d/_error_x.py index ebf64683f20..3125144aa8d 100644 --- a/plotly/graph_objs/scatter3d/_error_x.py +++ b/plotly/graph_objs/scatter3d/_error_x.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/_error_y.py b/plotly/graph_objs/scatter3d/_error_y.py index 56b5951947e..80f3ec1914a 100644 --- a/plotly/graph_objs/scatter3d/_error_y.py +++ b/plotly/graph_objs/scatter3d/_error_y.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/_error_z.py b/plotly/graph_objs/scatter3d/_error_z.py index b402e1b4eca..aa564c9a651 100644 --- a/plotly/graph_objs/scatter3d/_error_z.py +++ b/plotly/graph_objs/scatter3d/_error_z.py @@ -67,12 +67,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/_hoverlabel.py b/plotly/graph_objs/scatter3d/_hoverlabel.py index 702a7e74df0..ce06d4f7c9a 100644 --- a/plotly/graph_objs/scatter3d/_hoverlabel.py +++ b/plotly/graph_objs/scatter3d/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter3d/_line.py b/plotly/graph_objs/scatter3d/_line.py index 403f21411f4..100409556f3 100644 --- a/plotly/graph_objs/scatter3d/_line.py +++ b/plotly/graph_objs/scatter3d/_line.py @@ -142,12 +142,15 @@ def color(self): the max and min values of the array or relative to `line.cmin` and `line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatter3d.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatter3d/_marker.py b/plotly/graph_objs/scatter3d/_marker.py index d6d8b7fe0a9..3437ac4a112 100644 --- a/plotly/graph_objs/scatter3d/_marker.py +++ b/plotly/graph_objs/scatter3d/_marker.py @@ -148,12 +148,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatter3d.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatter3d/_textfont.py b/plotly/graph_objs/scatter3d/_textfont.py index 194fc8cd8e8..3ab7f79fc9a 100644 --- a/plotly/graph_objs/scatter3d/_textfont.py +++ b/plotly/graph_objs/scatter3d/_textfont.py @@ -13,12 +13,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter3d/hoverlabel/_font.py b/plotly/graph_objs/scatter3d/hoverlabel/_font.py index 187f7c21535..5c8fdae9fbe 100644 --- a/plotly/graph_objs/scatter3d/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter3d/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py b/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py index 080965830bf..b28671d41ab 100644 --- a/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/line/_colorbar.py b/plotly/graph_objs/scatter3d/line/_colorbar.py index a2eb684e9fa..6d7148c29c4 100644 --- a/plotly/graph_objs/scatter3d/line/_colorbar.py +++ b/plotly/graph_objs/scatter3d/line/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py b/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py index 2930d385ce5..15047652d80 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py b/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py index 6fbb5089830..d140c161c10 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/marker/_colorbar.py b/plotly/graph_objs/scatter3d/marker/_colorbar.py index 9224c80cfa8..f91c4b5e07d 100644 --- a/plotly/graph_objs/scatter3d/marker/_colorbar.py +++ b/plotly/graph_objs/scatter3d/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/marker/_line.py b/plotly/graph_objs/scatter3d/marker/_line.py index ce432b24c48..1335ed5ae3b 100644 --- a/plotly/graph_objs/scatter3d/marker/_line.py +++ b/plotly/graph_objs/scatter3d/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatter3d.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py index bf0a03c7098..21ec500da09 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py b/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py index 1aa12007141..cbcc801e0e1 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/_hoverlabel.py b/plotly/graph_objs/scattercarpet/_hoverlabel.py index 5a0bb1cded8..edd7fd6f451 100644 --- a/plotly/graph_objs/scattercarpet/_hoverlabel.py +++ b/plotly/graph_objs/scattercarpet/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattercarpet/_line.py b/plotly/graph_objs/scattercarpet/_line.py index b9dd71939a8..f11b494fafc 100644 --- a/plotly/graph_objs/scattercarpet/_line.py +++ b/plotly/graph_objs/scattercarpet/_line.py @@ -37,12 +37,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/_marker.py b/plotly/graph_objs/scattercarpet/_marker.py index dbc5837553e..97c7f9adc50 100644 --- a/plotly/graph_objs/scattercarpet/_marker.py +++ b/plotly/graph_objs/scattercarpet/_marker.py @@ -194,12 +194,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattercarpet.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattercarpet/_textfont.py b/plotly/graph_objs/scattercarpet/_textfont.py index a9e110117a3..45289cc4377 100644 --- a/plotly/graph_objs/scattercarpet/_textfont.py +++ b/plotly/graph_objs/scattercarpet/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py index ec01299b4f6..1cda6db3cf0 100644 --- a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py +++ b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py b/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py index d20e971f7aa..9df223ffe41 100644 --- a/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/marker/_colorbar.py b/plotly/graph_objs/scattercarpet/marker/_colorbar.py index 40e68dfac31..34bef11b5ec 100644 --- a/plotly/graph_objs/scattercarpet/marker/_colorbar.py +++ b/plotly/graph_objs/scattercarpet/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/marker/_gradient.py b/plotly/graph_objs/scattercarpet/marker/_gradient.py index 69c39131e5a..209c2812150 100644 --- a/plotly/graph_objs/scattercarpet/marker/_gradient.py +++ b/plotly/graph_objs/scattercarpet/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattercarpet/marker/_line.py b/plotly/graph_objs/scattercarpet/marker/_line.py index 76c4d0e8e3b..ef7afa012bd 100644 --- a/plotly/graph_objs/scattercarpet/marker/_line.py +++ b/plotly/graph_objs/scattercarpet/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattercarpet.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py index 5adcfe55cbb..7542ca23bef 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py b/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py index 5a31ba47587..6062583472c 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/selected/_marker.py b/plotly/graph_objs/scattercarpet/selected/_marker.py index 1af34aa60d5..33c38c90293 100644 --- a/plotly/graph_objs/scattercarpet/selected/_marker.py +++ b/plotly/graph_objs/scattercarpet/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/selected/_textfont.py b/plotly/graph_objs/scattercarpet/selected/_textfont.py index 10dc095c553..13eba24253f 100644 --- a/plotly/graph_objs/scattercarpet/selected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/unselected/_marker.py b/plotly/graph_objs/scattercarpet/unselected/_marker.py index 48738330b2c..8a893b9a0a3 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_marker.py +++ b/plotly/graph_objs/scattercarpet/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattercarpet/unselected/_textfont.py b/plotly/graph_objs/scattercarpet/unselected/_textfont.py index 02f1e9dade2..75efa4ac083 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/_hoverlabel.py b/plotly/graph_objs/scattergeo/_hoverlabel.py index 966a10b9303..a983ab35820 100644 --- a/plotly/graph_objs/scattergeo/_hoverlabel.py +++ b/plotly/graph_objs/scattergeo/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergeo/_line.py b/plotly/graph_objs/scattergeo/_line.py index 5151208ecf9..3db2bbdbbb5 100644 --- a/plotly/graph_objs/scattergeo/_line.py +++ b/plotly/graph_objs/scattergeo/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/_marker.py b/plotly/graph_objs/scattergeo/_marker.py index 2be868b2d31..167c66db356 100644 --- a/plotly/graph_objs/scattergeo/_marker.py +++ b/plotly/graph_objs/scattergeo/_marker.py @@ -195,12 +195,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattergeo.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattergeo/_textfont.py b/plotly/graph_objs/scattergeo/_textfont.py index 5bfe83cf116..4d3a58a8041 100644 --- a/plotly/graph_objs/scattergeo/_textfont.py +++ b/plotly/graph_objs/scattergeo/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergeo/hoverlabel/_font.py b/plotly/graph_objs/scattergeo/hoverlabel/_font.py index de3a68ecfbb..dd33fc4075f 100644 --- a/plotly/graph_objs/scattergeo/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergeo/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py b/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py index b66cef3cd99..813b973f62b 100644 --- a/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/marker/_colorbar.py b/plotly/graph_objs/scattergeo/marker/_colorbar.py index d4a19128c55..2b2823814ab 100644 --- a/plotly/graph_objs/scattergeo/marker/_colorbar.py +++ b/plotly/graph_objs/scattergeo/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/marker/_gradient.py b/plotly/graph_objs/scattergeo/marker/_gradient.py index 6f2dac8b100..91ccb24a119 100644 --- a/plotly/graph_objs/scattergeo/marker/_gradient.py +++ b/plotly/graph_objs/scattergeo/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergeo/marker/_line.py b/plotly/graph_objs/scattergeo/marker/_line.py index 410f068f9e8..307063071b9 100644 --- a/plotly/graph_objs/scattergeo/marker/_line.py +++ b/plotly/graph_objs/scattergeo/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattergeo.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py index 979cf4efb76..5c154431a50 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py b/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py index 6e8aa06fd3e..acb44965306 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/selected/_marker.py b/plotly/graph_objs/scattergeo/selected/_marker.py index e3c2b9a98d5..be765857199 100644 --- a/plotly/graph_objs/scattergeo/selected/_marker.py +++ b/plotly/graph_objs/scattergeo/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/selected/_textfont.py b/plotly/graph_objs/scattergeo/selected/_textfont.py index d3fa7e867b8..51d3fd52545 100644 --- a/plotly/graph_objs/scattergeo/selected/_textfont.py +++ b/plotly/graph_objs/scattergeo/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/unselected/_marker.py b/plotly/graph_objs/scattergeo/unselected/_marker.py index 7249a60e7b2..13fc08e7296 100644 --- a/plotly/graph_objs/scattergeo/unselected/_marker.py +++ b/plotly/graph_objs/scattergeo/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergeo/unselected/_textfont.py b/plotly/graph_objs/scattergeo/unselected/_textfont.py index c076f082bae..d251b9e5aa7 100644 --- a/plotly/graph_objs/scattergeo/unselected/_textfont.py +++ b/plotly/graph_objs/scattergeo/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/_error_x.py b/plotly/graph_objs/scattergl/_error_x.py index 746d7ccd121..991a918813d 100644 --- a/plotly/graph_objs/scattergl/_error_x.py +++ b/plotly/graph_objs/scattergl/_error_x.py @@ -68,12 +68,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/_error_y.py b/plotly/graph_objs/scattergl/_error_y.py index 36f2d75b0a5..378f258534f 100644 --- a/plotly/graph_objs/scattergl/_error_y.py +++ b/plotly/graph_objs/scattergl/_error_y.py @@ -67,12 +67,15 @@ def color(self): """ Sets the stroke color of the error bars. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/_hoverlabel.py b/plotly/graph_objs/scattergl/_hoverlabel.py index ac554e4b2f3..07843f80718 100644 --- a/plotly/graph_objs/scattergl/_hoverlabel.py +++ b/plotly/graph_objs/scattergl/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergl/_line.py b/plotly/graph_objs/scattergl/_line.py index 12b641ca4b7..310b1dc8439 100644 --- a/plotly/graph_objs/scattergl/_line.py +++ b/plotly/graph_objs/scattergl/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/_marker.py b/plotly/graph_objs/scattergl/_marker.py index 8a24762d24c..cae80de19bd 100644 --- a/plotly/graph_objs/scattergl/_marker.py +++ b/plotly/graph_objs/scattergl/_marker.py @@ -169,12 +169,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattergl.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattergl/_textfont.py b/plotly/graph_objs/scattergl/_textfont.py index 4518a894ccb..5c8962de39b 100644 --- a/plotly/graph_objs/scattergl/_textfont.py +++ b/plotly/graph_objs/scattergl/_textfont.py @@ -13,12 +13,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergl/hoverlabel/_font.py b/plotly/graph_objs/scattergl/hoverlabel/_font.py index 4fdf76997d9..859b45ec9df 100644 --- a/plotly/graph_objs/scattergl/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergl/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattergl/legendgrouptitle/_font.py b/plotly/graph_objs/scattergl/legendgrouptitle/_font.py index 71850608458..3bdc1237d59 100644 --- a/plotly/graph_objs/scattergl/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattergl/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/marker/_colorbar.py b/plotly/graph_objs/scattergl/marker/_colorbar.py index 635235dacbc..60056f9b8b9 100644 --- a/plotly/graph_objs/scattergl/marker/_colorbar.py +++ b/plotly/graph_objs/scattergl/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/marker/_line.py b/plotly/graph_objs/scattergl/marker/_line.py index 5d03a6cb796..c878f7e18d2 100644 --- a/plotly/graph_objs/scattergl/marker/_line.py +++ b/plotly/graph_objs/scattergl/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattergl.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py index c10f0d3c3b7..32349851652 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py b/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py index 920f340a81f..54cb19a9299 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/selected/_marker.py b/plotly/graph_objs/scattergl/selected/_marker.py index dbad7a5eadf..3a69b99cf5a 100644 --- a/plotly/graph_objs/scattergl/selected/_marker.py +++ b/plotly/graph_objs/scattergl/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/selected/_textfont.py b/plotly/graph_objs/scattergl/selected/_textfont.py index a37e6d9f240..fc77aa23b9c 100644 --- a/plotly/graph_objs/scattergl/selected/_textfont.py +++ b/plotly/graph_objs/scattergl/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/unselected/_marker.py b/plotly/graph_objs/scattergl/unselected/_marker.py index 0d9f1ccd06e..a4fa6b29bf8 100644 --- a/plotly/graph_objs/scattergl/unselected/_marker.py +++ b/plotly/graph_objs/scattergl/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattergl/unselected/_textfont.py b/plotly/graph_objs/scattergl/unselected/_textfont.py index 73d64c96e50..a9563b26dc3 100644 --- a/plotly/graph_objs/scattergl/unselected/_textfont.py +++ b/plotly/graph_objs/scattergl/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/_cluster.py b/plotly/graph_objs/scattermap/_cluster.py index b15b7c8781c..13044fbaeb3 100644 --- a/plotly/graph_objs/scattermap/_cluster.py +++ b/plotly/graph_objs/scattermap/_cluster.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color for each cluster step. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattermap/_hoverlabel.py b/plotly/graph_objs/scattermap/_hoverlabel.py index 7fefc285070..79badb43b9b 100644 --- a/plotly/graph_objs/scattermap/_hoverlabel.py +++ b/plotly/graph_objs/scattermap/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattermap/_line.py b/plotly/graph_objs/scattermap/_line.py index 6d07e8bbfd4..2cc7eed570d 100644 --- a/plotly/graph_objs/scattermap/_line.py +++ b/plotly/graph_objs/scattermap/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/_marker.py b/plotly/graph_objs/scattermap/_marker.py index 3bf5f351aa4..0540566de04 100644 --- a/plotly/graph_objs/scattermap/_marker.py +++ b/plotly/graph_objs/scattermap/_marker.py @@ -189,12 +189,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattermap.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattermap/_textfont.py b/plotly/graph_objs/scattermap/_textfont.py index 4c7b09a9cf2..16c03c03117 100644 --- a/plotly/graph_objs/scattermap/_textfont.py +++ b/plotly/graph_objs/scattermap/_textfont.py @@ -13,12 +13,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/hoverlabel/_font.py b/plotly/graph_objs/scattermap/hoverlabel/_font.py index e3589d8c65d..d5c37f2c87a 100644 --- a/plotly/graph_objs/scattermap/hoverlabel/_font.py +++ b/plotly/graph_objs/scattermap/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattermap/legendgrouptitle/_font.py b/plotly/graph_objs/scattermap/legendgrouptitle/_font.py index 4e8b157a585..db678347199 100644 --- a/plotly/graph_objs/scattermap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattermap/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/marker/_colorbar.py b/plotly/graph_objs/scattermap/marker/_colorbar.py index 4d5b2d9d7b3..daca0ca60d0 100644 --- a/plotly/graph_objs/scattermap/marker/_colorbar.py +++ b/plotly/graph_objs/scattermap/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py index c5366ac4267..cf414df9306 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py b/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py index dfc0291a5e4..14513465f4c 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/selected/_marker.py b/plotly/graph_objs/scattermap/selected/_marker.py index f7df731bc84..06838205b06 100644 --- a/plotly/graph_objs/scattermap/selected/_marker.py +++ b/plotly/graph_objs/scattermap/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattermap/unselected/_marker.py b/plotly/graph_objs/scattermap/unselected/_marker.py index b85c1a829da..11c456d84c0 100644 --- a/plotly/graph_objs/scattermap/unselected/_marker.py +++ b/plotly/graph_objs/scattermap/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/_hoverlabel.py b/plotly/graph_objs/scatterpolar/_hoverlabel.py index 296fcfed42f..b05c82475c5 100644 --- a/plotly/graph_objs/scatterpolar/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolar/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolar/_line.py b/plotly/graph_objs/scatterpolar/_line.py index 64860db19a1..28501699b08 100644 --- a/plotly/graph_objs/scatterpolar/_line.py +++ b/plotly/graph_objs/scatterpolar/_line.py @@ -37,12 +37,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/_marker.py b/plotly/graph_objs/scatterpolar/_marker.py index bfa92fefd42..a1b2a100ca9 100644 --- a/plotly/graph_objs/scatterpolar/_marker.py +++ b/plotly/graph_objs/scatterpolar/_marker.py @@ -194,12 +194,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterpolar.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterpolar/_textfont.py b/plotly/graph_objs/scatterpolar/_textfont.py index b06ae8287e2..5d55b04c334 100644 --- a/plotly/graph_objs/scatterpolar/_textfont.py +++ b/plotly/graph_objs/scatterpolar/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py index 8b0db1970b4..e83dc4aee5c 100644 --- a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py b/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py index f41e7dff106..36e169c9d5e 100644 --- a/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/marker/_colorbar.py b/plotly/graph_objs/scatterpolar/marker/_colorbar.py index 50a08c0dedb..26a81636f67 100644 --- a/plotly/graph_objs/scatterpolar/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolar/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/marker/_gradient.py b/plotly/graph_objs/scatterpolar/marker/_gradient.py index 2da0df097ae..885ec854c7d 100644 --- a/plotly/graph_objs/scatterpolar/marker/_gradient.py +++ b/plotly/graph_objs/scatterpolar/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolar/marker/_line.py b/plotly/graph_objs/scatterpolar/marker/_line.py index b0df5fa7e62..4154b860946 100644 --- a/plotly/graph_objs/scatterpolar/marker/_line.py +++ b/plotly/graph_objs/scatterpolar/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterpolar.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py index 3ba0759a5e3..63914384e3c 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py index bdb74c4d87e..98d7ce5e976 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/selected/_marker.py b/plotly/graph_objs/scatterpolar/selected/_marker.py index ae28c0bc312..01e8d56608c 100644 --- a/plotly/graph_objs/scatterpolar/selected/_marker.py +++ b/plotly/graph_objs/scatterpolar/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/selected/_textfont.py b/plotly/graph_objs/scatterpolar/selected/_textfont.py index c1cad860840..dcec8482252 100644 --- a/plotly/graph_objs/scatterpolar/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/unselected/_marker.py b/plotly/graph_objs/scatterpolar/unselected/_marker.py index aa06db1f422..60b886f6452 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolar/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolar/unselected/_textfont.py b/plotly/graph_objs/scatterpolar/unselected/_textfont.py index bd19b9b8461..c8797540ca8 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/_hoverlabel.py b/plotly/graph_objs/scatterpolargl/_hoverlabel.py index b5815964f41..0db6aa16cc1 100644 --- a/plotly/graph_objs/scatterpolargl/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolargl/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolargl/_line.py b/plotly/graph_objs/scatterpolargl/_line.py index 8fee4faa9f7..ffca3640197 100644 --- a/plotly/graph_objs/scatterpolargl/_line.py +++ b/plotly/graph_objs/scatterpolargl/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/_marker.py b/plotly/graph_objs/scatterpolargl/_marker.py index 712d2c06f6f..66be43064bb 100644 --- a/plotly/graph_objs/scatterpolargl/_marker.py +++ b/plotly/graph_objs/scatterpolargl/_marker.py @@ -169,12 +169,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterpolargl.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterpolargl/_textfont.py b/plotly/graph_objs/scatterpolargl/_textfont.py index 9b4f28aff3c..45da35f46a9 100644 --- a/plotly/graph_objs/scatterpolargl/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/_textfont.py @@ -13,12 +13,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py index 003cec8b927..0012ea27bab 100644 --- a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py b/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py index 76b0314c10e..011a3063343 100644 --- a/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py index d8fa1335e34..51e8bc7ae05 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/marker/_line.py b/plotly/graph_objs/scatterpolargl/marker/_line.py index b2dc6e8eef3..d92fe6a0bcc 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_line.py +++ b/plotly/graph_objs/scatterpolargl/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterpolargl.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py index 3bc7c85867a..935f75fde49 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py index 097bc8201d2..95f8fdd49dd 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/selected/_marker.py b/plotly/graph_objs/scatterpolargl/selected/_marker.py index 9403086e10f..25f2b05cf4f 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/selected/_textfont.py b/plotly/graph_objs/scatterpolargl/selected/_textfont.py index e62601f3baa..ff545f2ea27 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/unselected/_marker.py b/plotly/graph_objs/scatterpolargl/unselected/_marker.py index 993de3099f1..4d9732593d2 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py index ce3650d1844..d5fe3ff0d9d 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/_hoverlabel.py b/plotly/graph_objs/scattersmith/_hoverlabel.py index a3356cab0d6..04b3594a9fe 100644 --- a/plotly/graph_objs/scattersmith/_hoverlabel.py +++ b/plotly/graph_objs/scattersmith/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattersmith/_line.py b/plotly/graph_objs/scattersmith/_line.py index 1274a637d29..0003268bde5 100644 --- a/plotly/graph_objs/scattersmith/_line.py +++ b/plotly/graph_objs/scattersmith/_line.py @@ -37,12 +37,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/_marker.py b/plotly/graph_objs/scattersmith/_marker.py index 636d6ba44bf..5ccc1043fd0 100644 --- a/plotly/graph_objs/scattersmith/_marker.py +++ b/plotly/graph_objs/scattersmith/_marker.py @@ -194,12 +194,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattersmith.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattersmith/_textfont.py b/plotly/graph_objs/scattersmith/_textfont.py index d1029680ec9..4ef1524d662 100644 --- a/plotly/graph_objs/scattersmith/_textfont.py +++ b/plotly/graph_objs/scattersmith/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattersmith/hoverlabel/_font.py b/plotly/graph_objs/scattersmith/hoverlabel/_font.py index a4c0cefa9d0..ed1924d92ab 100644 --- a/plotly/graph_objs/scattersmith/hoverlabel/_font.py +++ b/plotly/graph_objs/scattersmith/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py b/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py index 8f980b117b1..071706983db 100644 --- a/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/marker/_colorbar.py b/plotly/graph_objs/scattersmith/marker/_colorbar.py index 44d338c8dd6..98b14637ba7 100644 --- a/plotly/graph_objs/scattersmith/marker/_colorbar.py +++ b/plotly/graph_objs/scattersmith/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/marker/_gradient.py b/plotly/graph_objs/scattersmith/marker/_gradient.py index 71f819dc5d1..37eba899a51 100644 --- a/plotly/graph_objs/scattersmith/marker/_gradient.py +++ b/plotly/graph_objs/scattersmith/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scattersmith/marker/_line.py b/plotly/graph_objs/scattersmith/marker/_line.py index bf78022166d..e34c6c084a9 100644 --- a/plotly/graph_objs/scattersmith/marker/_line.py +++ b/plotly/graph_objs/scattersmith/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scattersmith.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py index 4876a27142d..c67236ffd22 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py b/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py index 90b3bf0ad81..1412f6a955b 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/selected/_marker.py b/plotly/graph_objs/scattersmith/selected/_marker.py index 7c441e489ad..94c2f17020c 100644 --- a/plotly/graph_objs/scattersmith/selected/_marker.py +++ b/plotly/graph_objs/scattersmith/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/selected/_textfont.py b/plotly/graph_objs/scattersmith/selected/_textfont.py index 89581547016..1db3b414150 100644 --- a/plotly/graph_objs/scattersmith/selected/_textfont.py +++ b/plotly/graph_objs/scattersmith/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/unselected/_marker.py b/plotly/graph_objs/scattersmith/unselected/_marker.py index dbacc8f88a7..c775bdf47c8 100644 --- a/plotly/graph_objs/scattersmith/unselected/_marker.py +++ b/plotly/graph_objs/scattersmith/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scattersmith/unselected/_textfont.py b/plotly/graph_objs/scattersmith/unselected/_textfont.py index 11187346ef5..800d70b9a5f 100644 --- a/plotly/graph_objs/scattersmith/unselected/_textfont.py +++ b/plotly/graph_objs/scattersmith/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/_hoverlabel.py b/plotly/graph_objs/scatterternary/_hoverlabel.py index d31222227ed..29253c273b1 100644 --- a/plotly/graph_objs/scatterternary/_hoverlabel.py +++ b/plotly/graph_objs/scatterternary/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterternary/_line.py b/plotly/graph_objs/scatterternary/_line.py index 732c554d290..375abfce472 100644 --- a/plotly/graph_objs/scatterternary/_line.py +++ b/plotly/graph_objs/scatterternary/_line.py @@ -37,12 +37,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/_marker.py b/plotly/graph_objs/scatterternary/_marker.py index a08179c2d27..30177dfc1ed 100644 --- a/plotly/graph_objs/scatterternary/_marker.py +++ b/plotly/graph_objs/scatterternary/_marker.py @@ -194,12 +194,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterternary.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterternary/_textfont.py b/plotly/graph_objs/scatterternary/_textfont.py index 94fb8fd45b2..985b849185c 100644 --- a/plotly/graph_objs/scatterternary/_textfont.py +++ b/plotly/graph_objs/scatterternary/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterternary/hoverlabel/_font.py b/plotly/graph_objs/scatterternary/hoverlabel/_font.py index aeb78258182..e6984e1b59e 100644 --- a/plotly/graph_objs/scatterternary/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterternary/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py b/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py index af8ed20f190..51ecbe47bf1 100644 --- a/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/marker/_colorbar.py b/plotly/graph_objs/scatterternary/marker/_colorbar.py index a0ff1777eb1..34796dbdf43 100644 --- a/plotly/graph_objs/scatterternary/marker/_colorbar.py +++ b/plotly/graph_objs/scatterternary/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/marker/_gradient.py b/plotly/graph_objs/scatterternary/marker/_gradient.py index 1bc4e86ccb0..dac60655f72 100644 --- a/plotly/graph_objs/scatterternary/marker/_gradient.py +++ b/plotly/graph_objs/scatterternary/marker/_gradient.py @@ -16,12 +16,15 @@ def color(self): Sets the final color of the gradient fill: the center color for radial, the right for horizontal, or the bottom for vertical. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/scatterternary/marker/_line.py b/plotly/graph_objs/scatterternary/marker/_line.py index 272268f3cc8..9d5959c0f8b 100644 --- a/plotly/graph_objs/scatterternary/marker/_line.py +++ b/plotly/graph_objs/scatterternary/marker/_line.py @@ -142,12 +142,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to scatterternary.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py index 232323acb88..be470454175 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py index 3a1916a7be4..e02fa210aa9 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/selected/_marker.py b/plotly/graph_objs/scatterternary/selected/_marker.py index f82f165986a..4e0840b0bfd 100644 --- a/plotly/graph_objs/scatterternary/selected/_marker.py +++ b/plotly/graph_objs/scatterternary/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/selected/_textfont.py b/plotly/graph_objs/scatterternary/selected/_textfont.py index 9e9ba659a93..fd033804252 100644 --- a/plotly/graph_objs/scatterternary/selected/_textfont.py +++ b/plotly/graph_objs/scatterternary/selected/_textfont.py @@ -15,12 +15,15 @@ def color(self): """ Sets the text font color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/unselected/_marker.py b/plotly/graph_objs/scatterternary/unselected/_marker.py index 842223a4584..c1fdb2fe656 100644 --- a/plotly/graph_objs/scatterternary/unselected/_marker.py +++ b/plotly/graph_objs/scatterternary/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/scatterternary/unselected/_textfont.py b/plotly/graph_objs/scatterternary/unselected/_textfont.py index 06e08d6e698..ac9dfada16e 100644 --- a/plotly/graph_objs/scatterternary/unselected/_textfont.py +++ b/plotly/graph_objs/scatterternary/unselected/_textfont.py @@ -16,12 +16,15 @@ def color(self): Sets the text font color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/_hoverlabel.py b/plotly/graph_objs/splom/_hoverlabel.py index d34dfaa2038..c90a4f479fe 100644 --- a/plotly/graph_objs/splom/_hoverlabel.py +++ b/plotly/graph_objs/splom/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/splom/_marker.py b/plotly/graph_objs/splom/_marker.py index 11a1bf7e764..58b38e51edb 100644 --- a/plotly/graph_objs/splom/_marker.py +++ b/plotly/graph_objs/splom/_marker.py @@ -169,12 +169,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to splom.marker.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/splom/hoverlabel/_font.py b/plotly/graph_objs/splom/hoverlabel/_font.py index 5e7af60437a..4169ace2737 100644 --- a/plotly/graph_objs/splom/hoverlabel/_font.py +++ b/plotly/graph_objs/splom/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/splom/legendgrouptitle/_font.py b/plotly/graph_objs/splom/legendgrouptitle/_font.py index 15f2e7c6a6f..63c21f9a962 100644 --- a/plotly/graph_objs/splom/legendgrouptitle/_font.py +++ b/plotly/graph_objs/splom/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/marker/_colorbar.py b/plotly/graph_objs/splom/marker/_colorbar.py index f56b1920d5e..09404963e87 100644 --- a/plotly/graph_objs/splom/marker/_colorbar.py +++ b/plotly/graph_objs/splom/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/marker/_line.py b/plotly/graph_objs/splom/marker/_line.py index 219b1a800f9..640099a00ba 100644 --- a/plotly/graph_objs/splom/marker/_line.py +++ b/plotly/graph_objs/splom/marker/_line.py @@ -141,12 +141,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A number that will be interpreted as a color according to splom.marker.line.colorscale - A list or array of any of the above diff --git a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py index 1e1a2025005..84735ccc09c 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/marker/colorbar/title/_font.py b/plotly/graph_objs/splom/marker/colorbar/title/_font.py index af874e45b75..e316b110b54 100644 --- a/plotly/graph_objs/splom/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/splom/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/selected/_marker.py b/plotly/graph_objs/splom/selected/_marker.py index 2002debee72..3a461aac1b3 100644 --- a/plotly/graph_objs/splom/selected/_marker.py +++ b/plotly/graph_objs/splom/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/splom/unselected/_marker.py b/plotly/graph_objs/splom/unselected/_marker.py index 48f8c5314e4..8e9d0254cbd 100644 --- a/plotly/graph_objs/splom/unselected/_marker.py +++ b/plotly/graph_objs/splom/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/streamtube/_colorbar.py b/plotly/graph_objs/streamtube/_colorbar.py index 71d36f7e761..75314bbacc5 100644 --- a/plotly/graph_objs/streamtube/_colorbar.py +++ b/plotly/graph_objs/streamtube/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/streamtube/_hoverlabel.py b/plotly/graph_objs/streamtube/_hoverlabel.py index d5456608233..05a1d108207 100644 --- a/plotly/graph_objs/streamtube/_hoverlabel.py +++ b/plotly/graph_objs/streamtube/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/streamtube/colorbar/_tickfont.py b/plotly/graph_objs/streamtube/colorbar/_tickfont.py index 904fd2fa1f6..48b21fede02 100644 --- a/plotly/graph_objs/streamtube/colorbar/_tickfont.py +++ b/plotly/graph_objs/streamtube/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/streamtube/colorbar/title/_font.py b/plotly/graph_objs/streamtube/colorbar/title/_font.py index 066aa300197..98e10ac3bef 100644 --- a/plotly/graph_objs/streamtube/colorbar/title/_font.py +++ b/plotly/graph_objs/streamtube/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/streamtube/hoverlabel/_font.py b/plotly/graph_objs/streamtube/hoverlabel/_font.py index 0fb932f5818..dc475ae9623 100644 --- a/plotly/graph_objs/streamtube/hoverlabel/_font.py +++ b/plotly/graph_objs/streamtube/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/streamtube/legendgrouptitle/_font.py b/plotly/graph_objs/streamtube/legendgrouptitle/_font.py index 73dea99b965..6247cff2c35 100644 --- a/plotly/graph_objs/streamtube/legendgrouptitle/_font.py +++ b/plotly/graph_objs/streamtube/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sunburst/_hoverlabel.py b/plotly/graph_objs/sunburst/_hoverlabel.py index 39fcd321caf..e7d616e2894 100644 --- a/plotly/graph_objs/sunburst/_hoverlabel.py +++ b/plotly/graph_objs/sunburst/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/_insidetextfont.py b/plotly/graph_objs/sunburst/_insidetextfont.py index c5cf2f63188..5f5a6410758 100644 --- a/plotly/graph_objs/sunburst/_insidetextfont.py +++ b/plotly/graph_objs/sunburst/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/_outsidetextfont.py b/plotly/graph_objs/sunburst/_outsidetextfont.py index b81607edca8..f7fc4ab7cdd 100644 --- a/plotly/graph_objs/sunburst/_outsidetextfont.py +++ b/plotly/graph_objs/sunburst/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/_root.py b/plotly/graph_objs/sunburst/_root.py index 87854a87ae4..77c2be0608e 100644 --- a/plotly/graph_objs/sunburst/_root.py +++ b/plotly/graph_objs/sunburst/_root.py @@ -17,12 +17,15 @@ def color(self): trace. this has no effect when a colorscale is used to set the markers. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sunburst/_textfont.py b/plotly/graph_objs/sunburst/_textfont.py index c7780faa777..b0950d5fd13 100644 --- a/plotly/graph_objs/sunburst/_textfont.py +++ b/plotly/graph_objs/sunburst/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/hoverlabel/_font.py b/plotly/graph_objs/sunburst/hoverlabel/_font.py index 423e35147c0..a6579da65d4 100644 --- a/plotly/graph_objs/sunburst/hoverlabel/_font.py +++ b/plotly/graph_objs/sunburst/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/legendgrouptitle/_font.py b/plotly/graph_objs/sunburst/legendgrouptitle/_font.py index f58868d6728..c51fac7e1df 100644 --- a/plotly/graph_objs/sunburst/legendgrouptitle/_font.py +++ b/plotly/graph_objs/sunburst/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sunburst/marker/_colorbar.py b/plotly/graph_objs/sunburst/marker/_colorbar.py index 0e948dedff4..1295c463c2c 100644 --- a/plotly/graph_objs/sunburst/marker/_colorbar.py +++ b/plotly/graph_objs/sunburst/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sunburst/marker/_line.py b/plotly/graph_objs/sunburst/marker/_line.py index 386709f93fa..c291d4034dc 100644 --- a/plotly/graph_objs/sunburst/marker/_line.py +++ b/plotly/graph_objs/sunburst/marker/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/marker/_pattern.py b/plotly/graph_objs/sunburst/marker/_pattern.py index 2707dba010f..54fbe3c5346 100644 --- a/plotly/graph_objs/sunburst/marker/_pattern.py +++ b/plotly/graph_objs/sunburst/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py b/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py index a6128929db6..8c50f7d2e90 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py b/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py index 9e681aaff0b..597633520d8 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/_colorbar.py b/plotly/graph_objs/surface/_colorbar.py index 22c8892e24f..f35855e95a8 100644 --- a/plotly/graph_objs/surface/_colorbar.py +++ b/plotly/graph_objs/surface/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/_hoverlabel.py b/plotly/graph_objs/surface/_hoverlabel.py index e4b151c3eaa..36061fca04a 100644 --- a/plotly/graph_objs/surface/_hoverlabel.py +++ b/plotly/graph_objs/surface/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/surface/colorbar/_tickfont.py b/plotly/graph_objs/surface/colorbar/_tickfont.py index 8eab7185b72..a3bb9f32279 100644 --- a/plotly/graph_objs/surface/colorbar/_tickfont.py +++ b/plotly/graph_objs/surface/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/colorbar/title/_font.py b/plotly/graph_objs/surface/colorbar/title/_font.py index dad3b729125..04cd6bafcf0 100644 --- a/plotly/graph_objs/surface/colorbar/title/_font.py +++ b/plotly/graph_objs/surface/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/contours/_x.py b/plotly/graph_objs/surface/contours/_x.py index 3964452b6ed..e6cea371d7d 100644 --- a/plotly/graph_objs/surface/contours/_x.py +++ b/plotly/graph_objs/surface/contours/_x.py @@ -27,12 +27,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -87,12 +90,15 @@ def highlightcolor(self): """ Sets the color of the highlighted contour lines. - The 'highlightcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'highlightcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/contours/_y.py b/plotly/graph_objs/surface/contours/_y.py index 3f4cf8126e4..c888723598e 100644 --- a/plotly/graph_objs/surface/contours/_y.py +++ b/plotly/graph_objs/surface/contours/_y.py @@ -27,12 +27,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -87,12 +90,15 @@ def highlightcolor(self): """ Sets the color of the highlighted contour lines. - The 'highlightcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'highlightcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/contours/_z.py b/plotly/graph_objs/surface/contours/_z.py index 9069c084027..e97eb1d0ae7 100644 --- a/plotly/graph_objs/surface/contours/_z.py +++ b/plotly/graph_objs/surface/contours/_z.py @@ -27,12 +27,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -87,12 +90,15 @@ def highlightcolor(self): """ Sets the color of the highlighted contour lines. - The 'highlightcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'highlightcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/surface/hoverlabel/_font.py b/plotly/graph_objs/surface/hoverlabel/_font.py index f78522b0e9c..00d2ee90414 100644 --- a/plotly/graph_objs/surface/hoverlabel/_font.py +++ b/plotly/graph_objs/surface/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/surface/legendgrouptitle/_font.py b/plotly/graph_objs/surface/legendgrouptitle/_font.py index ef438211efd..e484a6e66b7 100644 --- a/plotly/graph_objs/surface/legendgrouptitle/_font.py +++ b/plotly/graph_objs/surface/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/table/_hoverlabel.py b/plotly/graph_objs/table/_hoverlabel.py index 3ea66251d83..995cfc5b36d 100644 --- a/plotly/graph_objs/table/_hoverlabel.py +++ b/plotly/graph_objs/table/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/cells/_fill.py b/plotly/graph_objs/table/cells/_fill.py index f2260593d09..2c5f67a5f1e 100644 --- a/plotly/graph_objs/table/cells/_fill.py +++ b/plotly/graph_objs/table/cells/_fill.py @@ -16,12 +16,15 @@ def color(self): Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/cells/_font.py b/plotly/graph_objs/table/cells/_font.py index 21d6e3ba5b0..293726a33fa 100644 --- a/plotly/graph_objs/table/cells/_font.py +++ b/plotly/graph_objs/table/cells/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/cells/_line.py b/plotly/graph_objs/table/cells/_line.py index bee0e57f857..7996da457f0 100644 --- a/plotly/graph_objs/table/cells/_line.py +++ b/plotly/graph_objs/table/cells/_line.py @@ -13,12 +13,15 @@ class Line(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/header/_fill.py b/plotly/graph_objs/table/header/_fill.py index 8b409e9beac..defe191ecf7 100644 --- a/plotly/graph_objs/table/header/_fill.py +++ b/plotly/graph_objs/table/header/_fill.py @@ -16,12 +16,15 @@ def color(self): Sets the cell fill color. It accepts either a specific color or an array of colors or a 2D array of colors. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/header/_font.py b/plotly/graph_objs/table/header/_font.py index ac3cb7ff2e2..e2b824502f2 100644 --- a/plotly/graph_objs/table/header/_font.py +++ b/plotly/graph_objs/table/header/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/header/_line.py b/plotly/graph_objs/table/header/_line.py index 7a3dc1e5e9b..e854ce335a7 100644 --- a/plotly/graph_objs/table/header/_line.py +++ b/plotly/graph_objs/table/header/_line.py @@ -13,12 +13,15 @@ class Line(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/hoverlabel/_font.py b/plotly/graph_objs/table/hoverlabel/_font.py index 92c4b6da9dd..10159a3e50e 100644 --- a/plotly/graph_objs/table/hoverlabel/_font.py +++ b/plotly/graph_objs/table/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/table/legendgrouptitle/_font.py b/plotly/graph_objs/table/legendgrouptitle/_font.py index 939abcfd6d1..cc3fc2ff7d1 100644 --- a/plotly/graph_objs/table/legendgrouptitle/_font.py +++ b/plotly/graph_objs/table/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/_hoverlabel.py b/plotly/graph_objs/treemap/_hoverlabel.py index c922cfd8073..581af4b1940 100644 --- a/plotly/graph_objs/treemap/_hoverlabel.py +++ b/plotly/graph_objs/treemap/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/_insidetextfont.py b/plotly/graph_objs/treemap/_insidetextfont.py index 1af7646ee3e..6e89b17609b 100644 --- a/plotly/graph_objs/treemap/_insidetextfont.py +++ b/plotly/graph_objs/treemap/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/_outsidetextfont.py b/plotly/graph_objs/treemap/_outsidetextfont.py index 504f6737d17..799763c6a2b 100644 --- a/plotly/graph_objs/treemap/_outsidetextfont.py +++ b/plotly/graph_objs/treemap/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/_root.py b/plotly/graph_objs/treemap/_root.py index 9ab16ee3e51..5bff351da0c 100644 --- a/plotly/graph_objs/treemap/_root.py +++ b/plotly/graph_objs/treemap/_root.py @@ -17,12 +17,15 @@ def color(self): trace. this has no effect when a colorscale is used to set the markers. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/_textfont.py b/plotly/graph_objs/treemap/_textfont.py index 34a94b45ca8..5b5e2f34357 100644 --- a/plotly/graph_objs/treemap/_textfont.py +++ b/plotly/graph_objs/treemap/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/hoverlabel/_font.py b/plotly/graph_objs/treemap/hoverlabel/_font.py index 5eddd26f25c..04f4a4846a2 100644 --- a/plotly/graph_objs/treemap/hoverlabel/_font.py +++ b/plotly/graph_objs/treemap/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/legendgrouptitle/_font.py b/plotly/graph_objs/treemap/legendgrouptitle/_font.py index f647b835c7a..8d04fec75d8 100644 --- a/plotly/graph_objs/treemap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/treemap/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/marker/_colorbar.py b/plotly/graph_objs/treemap/marker/_colorbar.py index ccdc027c5a7..e22317be34a 100644 --- a/plotly/graph_objs/treemap/marker/_colorbar.py +++ b/plotly/graph_objs/treemap/marker/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/marker/_line.py b/plotly/graph_objs/treemap/marker/_line.py index 0a2879a829c..e59ceab80bc 100644 --- a/plotly/graph_objs/treemap/marker/_line.py +++ b/plotly/graph_objs/treemap/marker/_line.py @@ -16,12 +16,15 @@ def color(self): Sets the color of the line enclosing each sector. Defaults to the `paper_bgcolor` value. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/marker/_pattern.py b/plotly/graph_objs/treemap/marker/_pattern.py index 86b8c7ab879..477bf006593 100644 --- a/plotly/graph_objs/treemap/marker/_pattern.py +++ b/plotly/graph_objs/treemap/marker/_pattern.py @@ -27,12 +27,15 @@ def bgcolor(self): `fillmode` is "overlay". Otherwise, defaults to a transparent background. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -53,12 +56,15 @@ def fgcolor(self): `fillmode` is "replace". Otherwise, defaults to dark grey or white to increase contrast with the `bgcolor`. - The 'fgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py b/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py index a23b0cb6b43..cd2cec58b26 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/marker/colorbar/title/_font.py b/plotly/graph_objs/treemap/marker/colorbar/title/_font.py index bf8f62e24e3..770d2eb816a 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/treemap/marker/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/treemap/pathbar/_textfont.py b/plotly/graph_objs/treemap/pathbar/_textfont.py index 2290b242d71..8fc6ec0fda8 100644 --- a/plotly/graph_objs/treemap/pathbar/_textfont.py +++ b/plotly/graph_objs/treemap/pathbar/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/violin/_box.py b/plotly/graph_objs/violin/_box.py index ebb18b16f15..d596e6909df 100644 --- a/plotly/graph_objs/violin/_box.py +++ b/plotly/graph_objs/violin/_box.py @@ -15,12 +15,15 @@ def fillcolor(self): """ Sets the inner box plot fill color. - The 'fillcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'fillcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/_hoverlabel.py b/plotly/graph_objs/violin/_hoverlabel.py index 0847a4a1782..c6f6ae308c9 100644 --- a/plotly/graph_objs/violin/_hoverlabel.py +++ b/plotly/graph_objs/violin/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/violin/_line.py b/plotly/graph_objs/violin/_line.py index e4b50d69819..0ad15493412 100644 --- a/plotly/graph_objs/violin/_line.py +++ b/plotly/graph_objs/violin/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of line bounding the violin(s). - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/_marker.py b/plotly/graph_objs/violin/_marker.py index 6389cae0948..0553a98705f 100644 --- a/plotly/graph_objs/violin/_marker.py +++ b/plotly/graph_objs/violin/_marker.py @@ -46,12 +46,15 @@ def color(self): the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -105,12 +108,15 @@ def outliercolor(self): """ Sets the color of the outlier sample points. - The 'outliercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outliercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/_meanline.py b/plotly/graph_objs/violin/_meanline.py index 75a34cd5793..952032f9796 100644 --- a/plotly/graph_objs/violin/_meanline.py +++ b/plotly/graph_objs/violin/_meanline.py @@ -15,12 +15,15 @@ def color(self): """ Sets the mean line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/box/_line.py b/plotly/graph_objs/violin/box/_line.py index aab887d83a4..580421e0fb0 100644 --- a/plotly/graph_objs/violin/box/_line.py +++ b/plotly/graph_objs/violin/box/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the inner box plot bounding line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/hoverlabel/_font.py b/plotly/graph_objs/violin/hoverlabel/_font.py index ef310f8ed2c..b4c4d0fc43f 100644 --- a/plotly/graph_objs/violin/hoverlabel/_font.py +++ b/plotly/graph_objs/violin/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/violin/legendgrouptitle/_font.py b/plotly/graph_objs/violin/legendgrouptitle/_font.py index cb257d25b01..a6bcb0e350b 100644 --- a/plotly/graph_objs/violin/legendgrouptitle/_font.py +++ b/plotly/graph_objs/violin/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/marker/_line.py b/plotly/graph_objs/violin/marker/_line.py index b46ec9473a9..e7aa95b285e 100644 --- a/plotly/graph_objs/violin/marker/_line.py +++ b/plotly/graph_objs/violin/marker/_line.py @@ -18,12 +18,15 @@ def color(self): relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -41,12 +44,15 @@ def outliercolor(self): Sets the border line color of the outlier sample points. Defaults to marker.color - The 'outliercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outliercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/selected/_marker.py b/plotly/graph_objs/violin/selected/_marker.py index 79d5ec044c6..7ae8888dc00 100644 --- a/plotly/graph_objs/violin/selected/_marker.py +++ b/plotly/graph_objs/violin/selected/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of selected points. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/violin/unselected/_marker.py b/plotly/graph_objs/violin/unselected/_marker.py index 657f722c602..a1c83a3394b 100644 --- a/plotly/graph_objs/violin/unselected/_marker.py +++ b/plotly/graph_objs/violin/unselected/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of unselected points, applied only when a selection exists. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/volume/_colorbar.py b/plotly/graph_objs/volume/_colorbar.py index 820ed2ce28d..e38cccbc55b 100644 --- a/plotly/graph_objs/volume/_colorbar.py +++ b/plotly/graph_objs/volume/_colorbar.py @@ -63,12 +63,15 @@ def bgcolor(self): """ Sets the color of padded area. - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -85,12 +88,15 @@ def bordercolor(self): """ Sets the axis line color. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -315,12 +321,15 @@ def outlinecolor(self): """ Sets the axis line color. - The 'outlinecolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'outlinecolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- @@ -541,12 +550,15 @@ def tickcolor(self): """ Sets the tick color. - The 'tickcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'tickcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/volume/_contour.py b/plotly/graph_objs/volume/_contour.py index eb18bfd4821..1dfe49dbab5 100644 --- a/plotly/graph_objs/volume/_contour.py +++ b/plotly/graph_objs/volume/_contour.py @@ -15,12 +15,15 @@ def color(self): """ Sets the color of the contour lines. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/volume/_hoverlabel.py b/plotly/graph_objs/volume/_hoverlabel.py index 8a9818b8af2..235c5e5174d 100644 --- a/plotly/graph_objs/volume/_hoverlabel.py +++ b/plotly/graph_objs/volume/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/volume/colorbar/_tickfont.py b/plotly/graph_objs/volume/colorbar/_tickfont.py index 8dbecc1e268..e4e330c67b3 100644 --- a/plotly/graph_objs/volume/colorbar/_tickfont.py +++ b/plotly/graph_objs/volume/colorbar/_tickfont.py @@ -23,12 +23,15 @@ class Tickfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/volume/colorbar/title/_font.py b/plotly/graph_objs/volume/colorbar/title/_font.py index beb2666022e..b86955d3349 100644 --- a/plotly/graph_objs/volume/colorbar/title/_font.py +++ b/plotly/graph_objs/volume/colorbar/title/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/volume/hoverlabel/_font.py b/plotly/graph_objs/volume/hoverlabel/_font.py index 8880e513644..00d3cdd38b2 100644 --- a/plotly/graph_objs/volume/hoverlabel/_font.py +++ b/plotly/graph_objs/volume/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/volume/legendgrouptitle/_font.py b/plotly/graph_objs/volume/legendgrouptitle/_font.py index 1147f2b7475..f471b3c5a10 100644 --- a/plotly/graph_objs/volume/legendgrouptitle/_font.py +++ b/plotly/graph_objs/volume/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/_hoverlabel.py b/plotly/graph_objs/waterfall/_hoverlabel.py index f8e9a46dd29..02198e04fb3 100644 --- a/plotly/graph_objs/waterfall/_hoverlabel.py +++ b/plotly/graph_objs/waterfall/_hoverlabel.py @@ -44,12 +44,15 @@ def bgcolor(self): """ Sets the background color of the hover labels for this trace - The 'bgcolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bgcolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns @@ -67,12 +70,15 @@ def bordercolor(self): """ Sets the border color of the hover labels for this trace. - The 'bordercolor' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'bordercolor' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/waterfall/_insidetextfont.py b/plotly/graph_objs/waterfall/_insidetextfont.py index 6782e61459d..f3e7a6b4f27 100644 --- a/plotly/graph_objs/waterfall/_insidetextfont.py +++ b/plotly/graph_objs/waterfall/_insidetextfont.py @@ -23,12 +23,15 @@ class Insidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/waterfall/_outsidetextfont.py b/plotly/graph_objs/waterfall/_outsidetextfont.py index 522518c6fde..96638dbbf40 100644 --- a/plotly/graph_objs/waterfall/_outsidetextfont.py +++ b/plotly/graph_objs/waterfall/_outsidetextfont.py @@ -23,12 +23,15 @@ class Outsidetextfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/waterfall/_textfont.py b/plotly/graph_objs/waterfall/_textfont.py index 3b6e1092ab1..6d57cf56b0d 100644 --- a/plotly/graph_objs/waterfall/_textfont.py +++ b/plotly/graph_objs/waterfall/_textfont.py @@ -23,12 +23,15 @@ class Textfont(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/waterfall/connector/_line.py b/plotly/graph_objs/waterfall/connector/_line.py index 299b5ea516f..2163c5bbbd9 100644 --- a/plotly/graph_objs/waterfall/connector/_line.py +++ b/plotly/graph_objs/waterfall/connector/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/decreasing/_marker.py b/plotly/graph_objs/waterfall/decreasing/_marker.py index a8f49ee6e51..c1688a52016 100644 --- a/plotly/graph_objs/waterfall/decreasing/_marker.py +++ b/plotly/graph_objs/waterfall/decreasing/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of all decreasing values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/decreasing/marker/_line.py b/plotly/graph_objs/waterfall/decreasing/marker/_line.py index 746fdb4e1ff..d940dd53ae4 100644 --- a/plotly/graph_objs/waterfall/decreasing/marker/_line.py +++ b/plotly/graph_objs/waterfall/decreasing/marker/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color of all decreasing values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/hoverlabel/_font.py b/plotly/graph_objs/waterfall/hoverlabel/_font.py index c6885d8cc67..8f0ceb4a097 100644 --- a/plotly/graph_objs/waterfall/hoverlabel/_font.py +++ b/plotly/graph_objs/waterfall/hoverlabel/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list - A list or array of any of the above Returns diff --git a/plotly/graph_objs/waterfall/increasing/_marker.py b/plotly/graph_objs/waterfall/increasing/_marker.py index 3a77deefa90..d462a69cece 100644 --- a/plotly/graph_objs/waterfall/increasing/_marker.py +++ b/plotly/graph_objs/waterfall/increasing/_marker.py @@ -15,12 +15,15 @@ def color(self): """ Sets the marker color of all increasing values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/increasing/marker/_line.py b/plotly/graph_objs/waterfall/increasing/marker/_line.py index 5f5b464658b..aac6bb68b76 100644 --- a/plotly/graph_objs/waterfall/increasing/marker/_line.py +++ b/plotly/graph_objs/waterfall/increasing/marker/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color of all increasing values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/legendgrouptitle/_font.py b/plotly/graph_objs/waterfall/legendgrouptitle/_font.py index e69cb92c5d0..eba0499ca83 100644 --- a/plotly/graph_objs/waterfall/legendgrouptitle/_font.py +++ b/plotly/graph_objs/waterfall/legendgrouptitle/_font.py @@ -23,12 +23,15 @@ class Font(_BaseTraceHierarchyType): @property def color(self): """ - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/totals/_marker.py b/plotly/graph_objs/waterfall/totals/_marker.py index 5cc16b8f32b..335cce979cd 100644 --- a/plotly/graph_objs/waterfall/totals/_marker.py +++ b/plotly/graph_objs/waterfall/totals/_marker.py @@ -16,12 +16,15 @@ def color(self): Sets the marker color of all intermediate sums and total values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns ------- diff --git a/plotly/graph_objs/waterfall/totals/marker/_line.py b/plotly/graph_objs/waterfall/totals/marker/_line.py index 8c1c81d1fc7..452c360b20e 100644 --- a/plotly/graph_objs/waterfall/totals/marker/_line.py +++ b/plotly/graph_objs/waterfall/totals/marker/_line.py @@ -15,12 +15,15 @@ def color(self): """ Sets the line color of all intermediate sums and total values. - The 'color' property is a color and may be specified as: - - A hex string (e.g. '#ff0000') - - An rgb/rgba string (e.g. 'rgb(255,0,0)') - - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - - A named CSS color: see https://plotly.com/python/css-colors/ for a list + The 'color' property is a color and may be specified as a string in the following formats: + - hex or short hex (e.g. '#d3d3d3', '#d3d') + - hex or short hex with alpha (e.g. '#d3d3d380', '#d3d8') + - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') + - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') + - hsl (e.g. 'hsl(0, 100%, 50%)', 'hsl(0deg 100% 50%)') + - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)', 'hsla(0deg 100% 50% / 0.5)') + - hwb (e.g. 'hwb(0, 0%, 100%)', 'hwb(0 0% 100%)') + - a named CSS color: see https://plotly.com/python/css-colors/ for a list Returns -------