class_docstr: Singleton object containing the current renderer configurations
code: def __setitem__(self, key, value):
      if not isinstance(value, (MimetypeRenderer, ExternalRenderer)):
          raise ValueError(
              """\
  Renderer must be a subclass of MimetypeRenderer or ExternalRenderer.
      Received value with type: {typ}""".format(
                  typ=type(value)
              )
          )
  
      self._renderers[key] = value
  
imports: import textwrap
  from copy import copy
  import os
  from packaging.version import Version
  from plotly import optional_imports
  from plotly.io._base_renderers import MimetypeRenderer, ExternalRenderer, PlotlyRenderer, NotebookRenderer, KaggleRenderer, AzureRenderer, ColabRenderer, JsonRenderer, PngRenderer, JpegRenderer, SvgRenderer, PdfRenderer, BrowserRenderer, IFrameRenderer, SphinxGalleryHtmlRenderer, SphinxGalleryOrcaRenderer, CoCalcRenderer, DatabricksRenderer
  from plotly.io._utils import validate_coerce_fig_to_dict
label_desc: Use image node_id 6 for calling the RenderersConfig obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types