class_docstr: Singleton object containing the current renderer configurations
class_docstr_tok: ["Singleton","object","containing","the","current","renderer","configurations"]
docstr: Activate all renderers that are waiting in the _to_activate list
  
  Parameters
  ----------
  cls
      Only activate renders that are subclasses of this class
docstr_tok: ["Activate","all","renderers","that","are","waiting","in","the","_to_activate","list","Parameters","--","--","--","--","--","cls","Only","activate","renders","that","are","subclasses","of","this","class"]
code: def _activate_pending_renderers(self, cls=object):
      """
      Activate all renderers that are waiting in the _to_activate list
  
      Parameters
      ----------
      cls
          Only activate renders that are subclasses of this class
      """
      to_activate_with_cls = [
          r for r in self._to_activate if cls and isinstance(r, cls)
      ]
  
      while to_activate_with_cls:
          # Activate renderers from left to right so that right-most
          # renderers take precedence
          renderer = to_activate_with_cls.pop(0)
          renderer.activate()
  
      self._to_activate = [
          r
          for r in self._to_activate
          if not (cls and isinstance(r, cls))
      ]
  
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 15 for calling the RenderersConfig obj's underlying member method code with example usage: obj._activate_pending_renderers(cls) without return types