code: def show(self):
      if not self._shown:
          self.display_js()
          self._create_comm()
      else:
          self.canvas.draw_idle()
      self._shown = True
      # plt.figure adds an event which makes the figure in focus the active
      # one. Disable this behaviour, as it results in figures being put as
      # the active figure after they have been shown, even in non-interactive
      # mode.
      if hasattr(self, "_cidgcf"):
          self.canvas.mpl_disconnect(self._cidgcf)
      if not is_interactive():
          from matplotlib._pylab_helpers import Gcf
  
          Gcf.figs.pop(self.num, None)
  
imports: from base64 import b64encode
  import io
  import json
  import pathlib
  import uuid
  from ipykernel.comm import Comm
  from IPython.display import display, Javascript, HTML
  from matplotlib import is_interactive
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import _Backend, CloseEvent, NavigationToolbar2
  from .backend_webagg_core import FigureCanvasWebAggCore, FigureManagerWebAgg, NavigationToolbar2WebAgg
  from .backend_webagg_core import TimerTornado, TimerAsyncio
label_desc: Use image node_id 4 for calling the FigureManagerNbAgg obj's underlying member method code with example usage: obj.show() without return types