code: def _reshow_nbagg_figure(fig):
      """reshow an nbagg figure"""
      try:
          reshow = fig.canvas.manager.reshow
      except AttributeError as e:
          raise NotImplementedError() from e
      else:
          reshow()
  
file_path: catboost/contrib/python/ipython/py3/IPython/core/pylabtools.py
imports: from io import BytesIO
  from binascii import b2a_base64
  from functools import partial
  import warnings
  from IPython.core.display import _pngxy
  from IPython.utils.decorators import flag_calls
label_desc: Use image node_id 6 for calling a global function with example usage: _reshow_nbagg_figure(fig) without return types