Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02c09ce

Browse files
committed
api/collections_demo: use subplots_adjust for better appearance
1 parent 6cbd599 commit 02c09ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/api/collections_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
for c in plt.rcParams['axes.prop_cycle'].by_key()['color']]
4343

4444
fig, axes = plt.subplots(2, 2)
45+
fig.subplots_adjust(top=0.92, left=0.07, right=0.97,
46+
hspace=0.3, wspace=0.3)
4547
((ax1, ax2), (ax3, ax4)) = axes # unpack the axes
4648

4749

0 commit comments

Comments
 (0)