code: def ohlc(*args, **kwargs):
      """Draw OHLC bars or candle bars in the current context figure.
  
      Signature: `ohlc(x, y, **kwargs)` or `ohlc(y, **kwargs)`, depending of the
      length of the list of positional arguments. In the case where the `x` array
      is not provided
  
      Parameters
      ----------
      x: numpy.ndarray or list, 1d (optional)
          The x-coordinates of the plotted line. When not provided, the function
          defaults to `numpy.arange(len(y))`.
      y: numpy.ndarray or list, 2d
          The ohlc (open/high/low/close) information. A two dimensional array. y
          must have the shape (n, 4).
      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 len(args) == 2:
          kwargs["x"] = args[0]
          kwargs["y"] = args[1]
      elif len(args) == 1:
          kwargs["y"] = args[0]
          length = len(args[0])
          kwargs["x"] = arange(length)
      return _draw_mark(OHLC, **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 25 for calling a global function with example usage: ohlc() and returns: _draw_mark