class_docstr: General class to hold a Secondary_X/Yaxis.
class_docstr_tok: ["General","class","to","hold","a","Secondary_X\/Yaxis","."]
docstr: Change the color of the secondary Axes and all decorators.
  
  Parameters
  ----------
  color : color; see :ref:`colors_def`
docstr_tok: ["Change","the","color","of","the","secondary","Axes","and","all","decorators",".","Parameters","--","--","--","--","--","color",":","color",";","see",":","ref",":","`","colors_def","`"]
code: def set_color(self, color):
      """
      Change the color of the secondary Axes and all decorators.
  
      Parameters
      ----------
      color : color; see :ref:`colors_def`
      """
      axis = self._axis_map[self._orientation]
      axis.set_tick_params(colors=color)
      for spine in self.spines.values():
          if spine.axis is axis:
              spine.set_color(color)
      axis.label.set_color(color)
  
file_path: matplotlib/lib/matplotlib/axes/_secondary_axes.py
imports: import numbers
  import numpy
  from matplotlib import _api, _docstring
  import matplotlib.ticker
  from matplotlib.axes._base import _AxesBase, _TransformedBoundsLocator
  from matplotlib.axis import Axis
  from matplotlib.transforms import Transform
label_desc: Use image node_id 11 for calling the SecondaryAxis obj's underlying member method code with example usage: obj.set_color(color) without return types