Plots#

How to Use#

Each plotting method takes a matplotlib axes object as its first argument. The specified plot will be drawn to that object. One easy way of getting an axes object is to use the matplotlib.pyplot.subplots() method. This will return a figure object and an axes object (or a list of objects).

fig, ax = matplotlib.pyplot.subplots()

plots.contour_plot(ax, X, Y)