iq_readout.plots.shots2d.plot_shots_2d#
- plot_shots_2d(ax, *shots, labels=None, colors=None)[source]#
Plots the experimental shots a 2D plane
- Parameters:
- ax:
Matplotlib axis
- shots: [np.ndarray(N, 2), np.ndarray(N, 2), …]
Experimental data for state 0, 1, …
- labels: (label_0, label_1, label_2)
Labels for the state 0, 1, and 2 data
- colors: (color_0, color_1, color_2)
Colors for the state 0, 1, and 2 data
- Returns:
- ax:
Matplotlib axis with the data plotted