matplotlib show histogram code example Example: matplotlib histogram python import pyplot from matplotlib as plt plt.hist(x_axis_list, y_axis_list)