figure subplot gap code example
Example: matplotlib space between subplots
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
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