I was trying to plot a histogram with a custom dashed linestyle using the following:
plt.hist(diameters, bins, density=True,
facecolor="deepskyblue", edgecolor="black", linestyle=(0,(4,4)))
This yields the following image:

As you can see, along the inside edges of each rectance, the lines don't match regarding their length/and or starting position. I would be very grateful for any advice on how to fix this issue.