docstr: Construct a new Slider object
  
  Parameters
  ----------
  arg
      dict of properties compatible with this constructor or
      an instance of :class:`plotly.graph_objs.layout.Slider`
  active
      Determines which button (by index starting from 0) is
      considered active.
  activebgcolor
      Sets the background color of the slider grip while
      dragging.
  bgcolor
      Sets the background color of the slider.
  bordercolor
      Sets the color of the border enclosing the slider.
  borderwidth
      Sets the width (in px) of the border enclosing the
      slider.
  currentvalue
      :class:`plotly.graph_objects.layout.slider.Currentvalue
      ` instance or dict with compatible properties
  font
      Sets the font of the slider step labels.
  len
      Sets the length of the slider This measure excludes the
      padding of both ends. That is, the slider's length is
      this length minus the padding on both ends.
  lenmode
      Determines whether this slider length is set in units
      of plot "fraction" or in *pixels. Use `len` to set the
      value.
  minorticklen
      Sets the length in pixels of minor step tick marks
  name
      When used in a template, named items are created in the
      output figure in addition to any items the figure
      already has in this array. You can modify these items
      in the output figure by making your own item with
      `templateitemname` matching this `name` alongside your
      modifications (including `visible: false` or `enabled:
      false` to hide it). Has no effect outside of a
      template.
  pad
      Set the padding of the slider component along each
      side.
  steps
      A tuple of
      :class:`plotly.graph_objects.layout.slider.Step`
      instances or dicts with compatible properties
  stepdefaults
      When used in a template (as
      layout.template.layout.slider.stepdefaults), sets the
      default property values to use for elements of
      layout.slider.steps
  templateitemname
      Used to refer to a named item in this array in the
      template. Named items from the template will be created
      even without a matching item in the input figure, but
      you can modify one by making an item with
      `templateitemname` matching its `name`, alongside your
      modifications (including `visible: false` or `enabled:
      false` to hide it). If there is no template or no
      matching item, this item will be hidden unless you
      explicitly show it with `visible: true`.
  tickcolor
      Sets the color of the border enclosing the slider.
  ticklen
      Sets the length in pixels of step tick marks
  tickwidth
      Sets the tick width (in px).
  transition
      :class:`plotly.graph_objects.layout.slider.Transition`
      instance or dict with compatible properties
  visible
      Determines whether or not the slider is visible.
  x
      Sets the x position (in normalized coordinates) of the
      slider.
  xanchor
      Sets the slider's horizontal position anchor. This
      anchor binds the `x` position to the "left", "center"
      or "right" of the range selector.
  y
      Sets the y position (in normalized coordinates) of the
      slider.
  yanchor
      Sets the slider's vertical position anchor This anchor
      binds the `y` position to the "top", "middle" or
      "bottom" of the range selector.
  
  Returns
  -------
  Slider
code: def __init__(
      self,
      arg=None,
      active=None,
      activebgcolor=None,
      bgcolor=None,
      bordercolor=None,
      borderwidth=None,
      currentvalue=None,
      font=None,
      len=None,
      lenmode=None,
      minorticklen=None,
      name=None,
      pad=None,
      steps=None,
      stepdefaults=None,
      templateitemname=None,
      tickcolor=None,
      ticklen=None,
      tickwidth=None,
      transition=None,
      visible=None,
      x=None,
      xanchor=None,
      y=None,
      yanchor=None,
      **kwargs,
  ):
      """
      Construct a new Slider object
  
      Parameters
      ----------
      arg
          dict of properties compatible with this constructor or
          an instance of :class:`plotly.graph_objs.layout.Slider`
      active
          Determines which button (by index starting from 0) is
          considered active.
      activebgcolor
          Sets the background color of the slider grip while
          dragging.
      bgcolor
          Sets the background color of the slider.
      bordercolor
          Sets the color of the border enclosing the slider.
      borderwidth
          Sets the width (in px) of the border enclosing the
          slider.
      currentvalue
          :class:`plotly.graph_objects.layout.slider.Currentvalue
          ` instance or dict with compatible properties
      font
          Sets the font of the slider step labels.
      len
          Sets the length of the slider This measure excludes the
          padding of both ends. That is, the slider's length is
          this length minus the padding on both ends.
      lenmode
          Determines whether this slider length is set in units
          of plot "fraction" or in *pixels. Use `len` to set the
          value.
      minorticklen
          Sets the length in pixels of minor step tick marks
      name
          When used in a template, named items are created in the
          output figure in addition to any items the figure
          already has in this array. You can modify these items
          in the output figure by making your own item with
          `templateitemname` matching this `name` alongside your
          modifications (including `visible: false` or `enabled:
          false` to hide it). Has no effect outside of a
          template.
      pad
          Set the padding of the slider component along each
          side.
      steps
          A tuple of
          :class:`plotly.graph_objects.layout.slider.Step`
          instances or dicts with compatible properties
      stepdefaults
          When used in a template (as
          layout.template.layout.slider.stepdefaults), sets the
          default property values to use for elements of
          layout.slider.steps
      templateitemname
          Used to refer to a named item in this array in the
          template. Named items from the template will be created
          even without a matching item in the input figure, but
          you can modify one by making an item with
          `templateitemname` matching its `name`, alongside your
          modifications (including `visible: false` or `enabled:
          false` to hide it). If there is no template or no
          matching item, this item will be hidden unless you
          explicitly show it with `visible: true`.
      tickcolor
          Sets the color of the border enclosing the slider.
      ticklen
          Sets the length in pixels of step tick marks
      tickwidth
          Sets the tick width (in px).
      transition
          :class:`plotly.graph_objects.layout.slider.Transition`
          instance or dict with compatible properties
      visible
          Determines whether or not the slider is visible.
      x
          Sets the x position (in normalized coordinates) of the
          slider.
      xanchor
          Sets the slider's horizontal position anchor. This
          anchor binds the `x` position to the "left", "center"
          or "right" of the range selector.
      y
          Sets the y position (in normalized coordinates) of the
          slider.
      yanchor
          Sets the slider's vertical position anchor This anchor
          binds the `y` position to the "top", "middle" or
          "bottom" of the range selector.
  
      Returns
      -------
      Slider
      """
      super(Slider, self).__init__("sliders")
  
      if "_parent" in kwargs:
          self._parent = kwargs["_parent"]
          return
  
      # Validate arg
      # ------------
      if arg is None:
          arg = {}
      elif isinstance(arg, self.__class__):
          arg = arg.to_plotly_json()
      elif isinstance(arg, dict):
          arg = _copy.copy(arg)
      else:
          raise ValueError(
              """\
  The first argument to the plotly.graph_objs.layout.Slider 
  constructor must be a dict or 
  an instance of :class:`plotly.graph_objs.layout.Slider`"""
          )
  
      # Handle skip_invalid
      # -------------------
      self._skip_invalid = kwargs.pop("skip_invalid", False)
      self._validate = kwargs.pop("_validate", True)
  
      # Populate data dict with properties
      # ----------------------------------
      _v = arg.pop("active", None)
      _v = active if active is not None else _v
      if _v is not None:
          self["active"] = _v
      _v = arg.pop("activebgcolor", None)
      _v = activebgcolor if activebgcolor is not None else _v
      if _v is not None:
          self["activebgcolor"] = _v
      _v = arg.pop("bgcolor", None)
      _v = bgcolor if bgcolor is not None else _v
      if _v is not None:
          self["bgcolor"] = _v
      _v = arg.pop("bordercolor", None)
      _v = bordercolor if bordercolor is not None else _v
      if _v is not None:
          self["bordercolor"] = _v
      _v = arg.pop("borderwidth", None)
      _v = borderwidth if borderwidth is not None else _v
      if _v is not None:
          self["borderwidth"] = _v
      _v = arg.pop("currentvalue", None)
      _v = currentvalue if currentvalue is not None else _v
      if _v is not None:
          self["currentvalue"] = _v
      _v = arg.pop("font", None)
      _v = font if font is not None else _v
      if _v is not None:
          self["font"] = _v
      _v = arg.pop("len", None)
      _v = len if len is not None else _v
      if _v is not None:
          self["len"] = _v
      _v = arg.pop("lenmode", None)
      _v = lenmode if lenmode is not None else _v
      if _v is not None:
          self["lenmode"] = _v
      _v = arg.pop("minorticklen", None)
      _v = minorticklen if minorticklen is not None else _v
      if _v is not None:
          self["minorticklen"] = _v
      _v = arg.pop("name", None)
      _v = name if name is not None else _v
      if _v is not None:
          self["name"] = _v
      _v = arg.pop("pad", None)
      _v = pad if pad is not None else _v
      if _v is not None:
          self["pad"] = _v
      _v = arg.pop("steps", None)
      _v = steps if steps is not None else _v
      if _v is not None:
          self["steps"] = _v
      _v = arg.pop("stepdefaults", None)
      _v = stepdefaults if stepdefaults is not None else _v
      if _v is not None:
          self["stepdefaults"] = _v
      _v = arg.pop("templateitemname", None)
      _v = templateitemname if templateitemname is not None else _v
      if _v is not None:
          self["templateitemname"] = _v
      _v = arg.pop("tickcolor", None)
      _v = tickcolor if tickcolor is not None else _v
      if _v is not None:
          self["tickcolor"] = _v
      _v = arg.pop("ticklen", None)
      _v = ticklen if ticklen is not None else _v
      if _v is not None:
          self["ticklen"] = _v
      _v = arg.pop("tickwidth", None)
      _v = tickwidth if tickwidth is not None else _v
      if _v is not None:
          self["tickwidth"] = _v
      _v = arg.pop("transition", None)
      _v = transition if transition is not None else _v
      if _v is not None:
          self["transition"] = _v
      _v = arg.pop("visible", None)
      _v = visible if visible is not None else _v
      if _v is not None:
          self["visible"] = _v
      _v = arg.pop("x", None)
      _v = x if x is not None else _v
      if _v is not None:
          self["x"] = _v
      _v = arg.pop("xanchor", None)
      _v = xanchor if xanchor is not None else _v
      if _v is not None:
          self["xanchor"] = _v
      _v = arg.pop("y", None)
      _v = y if y is not None else _v
      if _v is not None:
          self["y"] = _v
      _v = arg.pop("yanchor", None)
      _v = yanchor if yanchor is not None else _v
      if _v is not None:
          self["yanchor"] = _v
  
      # Process unknown kwargs
      # ----------------------
      self._process_kwargs(**dict(arg, **kwargs))
  
      # Reset skip_invalid
      # ------------------
      self._skip_invalid = False
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 50 to create a new Slider object from inherited base classes: _BaseLayoutHierarchyType with example: obj = Slider(arg, active, activebgcolor, bgcolor, bordercolor, borderwidth, currentvalue, font, len, lenmode, minorticklen, name, pad, steps, stepdefaults, templateitemname, tickcolor, ticklen, tickwidth, transition, visible, x, xanchor, y, yanchor)