code: def register_axis(key=None):
      def wrap(axis):
          name = (
              key
              if key is not None
              else axis.__module__ + axis.__name__
          )
          BaseAxis.axis_types[name] = axis
          return axis
  
      return wrap
  
file_path: bqplot/bqplot/axes.py
imports: from traitlets import observe, Int, Unicode, Instance, Enum, Dict, Bool
  from traittypes import Array
  from ipywidgets import Widget, Color, widget_serialization
  from bqscales import Scale, ColorScale
  from .traits import array_serialization, array_dimension_bounds
  from ._version import __frontend_version__
label_desc: Use image node_id 1 for calling a global function with example usage: register_axis(key) and returns: wrap, axis