plotly.graph_objects.funnelarea.marker package¶
-
class
plotly.graph_objects.funnelarea.marker.Line(arg=None, color=None, width=None, **kwargs)¶ Bases:
plotly.basedatatypes.BaseTraceHierarchyType-
property
color¶ Sets the color of the line enclosing each sector. Defaults to the
paper_bgcolorvalue.- The ‘color’ property is a color and may be specified as a string in the following formats:
hex or short hex (e.g. ‘#d3d3d3’, ‘#d3d’)
hex or short hex with alpha (e.g. ‘#d3d3d380’, ‘#d3d8’)
rgb (e.g. ‘rgb(255, 0, 0)’, ‘rgb(255 0 0)’)
rgba (e.g. ‘rgba(255, 0, 0, 0.5)’, ‘rgba(255 0 0 / 0.5)’)
hsl (e.g. ‘hsl(0, 100%, 50%)’, ‘hsl(0deg 100% 50%)’)
hsla (e.g. ‘hsla(0, 100%, 50%, 0.5)’, ‘hsla(0deg 100% 50% / 0.5)’)
hwb (e.g. ‘hwb(0 0% 100%)’)
lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)
color (e.g. ‘color(display-p3 1 0 0)’)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
width¶ Sets the width (in px) of the line enclosing each sector.
- The ‘width’ property is a number and may be specified as:
An int or float in the interval [0, inf]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|float|numpy.ndarray
-
property
-
class
plotly.graph_objects.funnelarea.marker.Pattern(arg=None, bgcolor=None, fgcolor=None, fgopacity=None, fillmode=None, path=None, shape=None, size=None, solidity=None, **kwargs)¶ Bases:
plotly.basedatatypes.BaseTraceHierarchyType-
property
bgcolor¶ When there is no colorscale sets the color of background pattern fill. Defaults to a
marker.colorbackground whenfillmodeis “overlay”. Otherwise, defaults to a transparent background.- 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%)’)
lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)
color (e.g. ‘color(display-p3 1 0 0)’)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
fgcolor¶ When there is no colorscale sets the color of foreground pattern fill. Defaults to a
marker.colorbackground whenfillmodeis “replace”. Otherwise, defaults to dark grey or white to increase contrast with thebgcolor.- 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%)’)
lab/lch/oklab/oklch (e.g. ‘oklch(0.7 0.15 180)’)
color (e.g. ‘color(display-p3 1 0 0)’)
named colors (full list: https://www.w3.org/TR/css-color-4/#named-color)
Any other supported CSS 4 color format: https://www.w3.org/TR/css-color-4/
A list or array of any of the above
- Returns
- Return type
str|numpy.ndarray
-
property
fgopacity¶ Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when
fillmodeis “overlay”. Otherwise, defaults to 1.- The ‘fgopacity’ property is a number and may be specified as:
An int or float in the interval [0, 1]
- Returns
- Return type
int|float
-
property
fillmode¶ Determines whether
marker.colorshould be used as a default tobgcoloror afgcolor.- The ‘fillmode’ property is an enumeration that may be specified as:
- One of the following enumeration values:
[‘replace’, ‘overlay’]
- Returns
- Return type
Any
-
property
path¶ Sets a custom path for pattern fill. Use with no
shapeorsolidity, provide an SVG path string for the regions of the square from (0,0) to (size,`size`) to color.- The ‘path’ property is a string and must be specified as:
A string
A number that will be converted to a string
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
str|numpy.ndarray
-
property
shape¶ Sets the shape of the pattern fill. By default, no pattern is used for filling the area.
- The ‘shape’ property is an enumeration that may be specified as:
- One of the following enumeration values:
[‘’, ‘/’, ‘', ‘x’, ‘-‘, ‘|’, ‘+’, ‘.’]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
Any|numpy.ndarray
-
property
size¶ Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern.
- The ‘size’ property is a number and may be specified as:
An int or float in the interval [0, inf]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|float|numpy.ndarray
-
property
solidity¶ Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.
- The ‘solidity’ property is a number and may be specified as:
An int or float in the interval [0, 1]
A tuple, list, or one-dimensional numpy array of the above
- Returns
- Return type
int|float|numpy.ndarray
-
property
