diff --git a/super_minimal.py b/super_minimal.py new file mode 100644 index 0000000000000000000000000000000000000000..4a2bfb86a21b5b1df37d9ee78260a2c8d4347e0c --- /dev/null +++ b/super_minimal.py @@ -0,0 +1,15 @@ + +import matplotlib.pyplot as plt + +# Data +data = [0, 0, 1, 1, 1] + +# Bin edges +bins = [0, 1, 2] + +plt.hist(data, + bins=bins, + bottom=[1, 2], # Set lower edge + histtype='stepfilled') + +plt.savefig("super_minimal.png")