plotly.graph_objects.histogram.selected package

class plotly.graph_objects.histogram.selected.Marker(arg=None, color=None, opacity=None, **kwargs)

Bases: plotly.basedatatypes.BaseTraceHierarchyType

property color

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

Returns

Return type

str

property opacity

Sets the marker opacity of selected points.

The ‘opacity’ property is a number and may be specified as:
  • An int or float in the interval [0, 1]

Returns

Return type

int|float

class plotly.graph_objects.histogram.selected.Textfont(arg=None, color=None, **kwargs)

Bases: plotly.basedatatypes.BaseTraceHierarchyType

property color

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

Returns

Return type

str