code: def _update_plotly_renderers():
      if (
          PatchedMatplotlib._matplotlylib
          and PatchedMatplotlib._plotly_renderer
      ):
          return True
  
      # create plotly renderer
      # noinspection PyBroadException
      try:
          from ..utilities import plotlympl
  
          PatchedMatplotlib._matplotlylib = plotlympl
          PatchedMatplotlib._plotly_renderer = (
              plotlympl.PlotlyRenderer()
          )
      except Exception:
          return False
  
      return True
  
imports: import sys
  import threading
  from copy import deepcopy
  from tempfile import mkstemp
  import six
  from six import BytesIO
  from .import_bind import PostImportHookPatching
  from ..config import running_remotely
  from ..debugging.log import LoggerRoot
  from ..utilities.resource_monitor import ResourceMonitor
label_desc: Use image node_id 5 for calling the PatchedMatplotlib obj's underlying member method code with example usage: obj._update_plotly_renderers() and returns: True, True, False