Home

Published

- 1 min read

matplotlib space between subplots

img of matplotlib space between subplots

The solution for this is noted below

matplotlib space between subplots

Solution

   import matplotlib.pyplot as plt
matplotlib.pyplot.subplots_adjust(wspace=X, hspace=Y)
# Adjust X for width between subplots
# Adjust Y for height between subplots

Try other methods by searching on the site. That is if this doesn’t work