Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python subplot space between plots

import matplotlib.pyplot as plt

fig, axes = plt.subplots(nrows=4, ncols=4)
fig.tight_layout(rect=[0, 0.03, 1, 0.95]) # Or equivalently, "plt.tight_layout()"

plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #subplot #space #plots
ADD COMMENT
Topic
Name
8+4 =