code: def imshow(image, format, **kwargs):
      """Draw an image in the current context figure.
      Parameters
      ----------
      image: image data
          Image data, depending on the passed format, can be one of:
              - an instance of an ipywidgets Image
              - a file name
              - a raw byte string
      format: {'widget', 'filename', ...}
          Type of the input argument.
          If not 'widget' or 'filename', must be a format supported by
          the ipywidgets Image.
      options: dict (default: {})
          Options for the scales to be created. If a scale labeled 'x' is
          required for that mark, options['x'] contains optional keyword
          arguments for the constructor of the corresponding scale type.
      axes_options: dict (default: {})
          Options for the axes to be created. If an axis labeled 'x' is required
          for that mark, axes_options['x'] contains optional keyword arguments
          for the constructor of the corresponding axis type.
      """
      if format == "widget":
          ipyimage = image
      elif format == "filename":
          with open(image, "rb") as f:
              data = f.read()
              ipyimage = ipyImage(value=data)
      else:
          ipyimage = ipyImage(value=image, format=format)
      kwargs["image"] = ipyimage
  
      kwargs.setdefault("x", [0.0, 1.0])
      kwargs.setdefault("y", [0.0, 1.0])
  
      return _draw_mark(Image, **kwargs)
  
imports: import sys
  from collections import OrderedDict
  from IPython.display import display
  from ipywidgets import Image
  from numpy import arange, issubdtype, array, column_stack, shape
  from .figure import Figure
  from bqscales import Scale, LinearScale, Mercator
  from .axes import Axis
  from .marks import Lines, Scatter, Hist, Bars, OHLC, Pie, Map, Image, Label, HeatMap, GridHeatMap, topo_load, Boxplot, Bins
  from .interacts import BrushIntervalSelector, FastIntervalSelector, BrushSelector, IndexSelector, MultiSelector, LassoSelector
  from traitlets.utils.sentinel import Sentinel
  import functools
label_desc: Use image node_id 24 for calling a global function with example usage: imshow(image, format) and returns: _draw_mark