fill_bin_content

lstchain.mc.plot_utils.fill_bin_content(ax, sensitivity, energy_bin, n_bins_gammaness, n_bins_theta2)

Function to fill bin content to be plotted in the case of an optimized figure array

Parameters:
ax: `matplotlib.pyplot.axis`
sensitivity: `numpy.ndarray` sensitivity array
energy_bin: `int` energy bin number
n_bins_gammaness: `int` number of bins in gammaness
n_bins_theta2: `int` number of bins in theta2
Returns:
ax: matplotlib.pyplot.axis