axes_plot_xy#

caf.viz.xy_plot.axes_plot_xy(fig, ax, type_, data, cmap=None, **plot_kwargs)[source]#

Add plot to given ax based on type_.

Parameters:
  • fig (figure.Figure) – Figure containing the Axes being plotted on.

  • ax (axes.Axes) – Axes to create plot on.

  • type (XYPlotType) – Type of plot to create

  • data (BasicData) – Data for creating the plot.

  • cmap (CmapData, optional) – Data for defining any colormaps used in the plot.

  • type_ (XYPlotType)

Raises:

NotImplementedError – For any plot types which haven’t been implemented.

Return type:

None

See also

XYPlotType

for plot types which can be used.

hexbin, scatter