plolty subplots distance code example
Example 1: adjust distance of subplots in python
subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)
Example 2: distance subplots matplotlib
matplotlib.pyplot.subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)