plotly.graph_objects.layout.xaxis.rangeslider package

class plotly.graph_objects.layout.xaxis.rangeslider.YAxis(arg=None, range=None, rangemode=None, **kwargs)

Bases: plotly.basedatatypes.BaseLayoutHierarchyType

property range

Sets the range of this axis for the rangeslider.

The ‘range’ property is an info array that may be specified as:

  • a list or tuple of 2 elements where:

  1. The ‘range[0]’ property accepts values of any type

  2. The ‘range[1]’ property accepts values of any type

    list

property rangemode

Determines whether or not the range of this axis in the rangeslider use the same value than in the main plot when zooming in/out. If “auto”, the autorange will be used. If “fixed”, the range is used. If “match”, the current range of the corresponding y-axis on the main subplot is used.

The ‘rangemode’ property is an enumeration that may be specified as:
  • One of the following enumeration values:

    [‘auto’, ‘fixed’, ‘match’]

Returns

Return type

Any