iq_readout.plots.shots2d.plot_contour_pdf_2d#

plot_contour_pdf_2d(ax, pdf_func, xlim=None, ylim=None, contour_levels=[0.36787944117144233])[source]#

Plots the decision boundaries in a 2D plane

Parameters:
ax:

Matplotlib axis.

xlim: (xmin, xmax)

Range of the X axis. Default: ax.get_xlim().

ylim: (ymin, ymax)

Range of the Y axis. Default: ax.get_ylim().

contour_levels

Levels of the PDFs to be plotted.

Returns:
ax:

Matplotlib axis with the data plotted