class_docstr: Visualize Multiple-dimensional data
  
  This class enables the visualization of multi-dimensional data, using
  a triangular grid of 2D plots.
  
  Parameters
  ----------
  ndim : integer
      Number of data dimensions
  inner_labels : bool
      If true, then label the inner axes.  If false, then only the outer
      axes will be labeled
  fig : matplotlib.Figure
      if specified, draw the plot on this figure.  Otherwise, use the
      current active figure.
  left, bottom, right, top, wspace, hspace : floats
      these parameters control the layout of the plots.  They behave have
      an identical effect as the arguments to plt.subplots_adjust.  If not
      specified, default values from the rc file will be used.
  
  Examples
  --------
  A grid of scatter plots can be created as follows::
  
      x = np.random.normal((4, 1000))
      R = np.random.random((4, 4))  # projection matrix
      x = np.dot(R, x)
      ax = MultiAxes(4)
      ax.scatter(x)
      ax.set_labels(['x1', 'x2', 'x3', 'x4'])
  
  Alternatively, the scatter plot can be visualized as a density::
  
      ax = MultiAxes(4)
      ax.density(x, bins=[20, 20, 20, 20])
code: def __init__(
      self,
      ndim,
      inner_labels=False,
      fig=None,
      left=None,
      bottom=None,
      right=None,
      top=None,
      wspace=None,
      hspace=None,
  ):
      # Import here so that testing with Agg will work
      from matplotlib import pyplot as plt
  
      if fig is None:
          fig = plt.gcf()
      self.fig = fig
  
      self.ndim = ndim
      self.inner_labels = inner_labels
  
      self._update("left", left)
      self._update("bottom", bottom)
      self._update("right", right)
      self._update("top", top)
      self._update("wspace", wspace)
      self._update("hspace", hspace)
  
      self.axes = self._draw_panels()
  
file_path: astroML/astroML/plotting/multiaxes.py
imports: from copy import deepcopy
  import numpy
label_desc: Use image node_id 1 to create a new MultiAxes object  with example: obj = MultiAxes(ndim, inner_labels, fig, left, bottom, right, top, wspace, hspace)