bqplot.pyplot.axes(mark=None, options={}, **kwargs)[source]

Draws axes corresponding to the scales of a given mark.

It also returns a dictionary of drawn axes. If the mark is not provided, the last drawn mark is used.

  • mark (Mark or None (default: None)) – The mark to inspect to create axes. If None, the last mark drawn is used instead.
  • options (dict (default: {})) – Options for the axes 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 axis type.