code: def show(key=None, display_toolbar=True):
      """Shows the current context figure in the output area.
  
      Parameters
      ----------
  
      key : hashable, optional
          Any variable that can be used as a key for a dictionary.
      display_toolbar: bool (default: True)
          If True, a toolbar for different mouse interaction is displayed with
          the figure.
  
      Raises
      ------
  
      KeyError
          When no context figure is associated with the provided key.
  
      Examples
      --------
  
          >>> import numpy as np
          >>> import pyplot as plt
          >>> n = 100
          >>> x = np.arange(n)
          >>> y = np.cumsum(np.random.randn(n))
          >>> plt.plot(x,y)
          >>> plt.show()
  
      """
      if key is None:
          figure = current_figure()
      else:
          figure = _context["figure_registry"][key]
      figure.display_toolbar = display_toolbar
      display(figure)
  
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 2 for calling a global function with example usage: show(key, display_toolbar) without return types