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

Skip to content

Commit f0e98fa

Browse files
committed
USe tight_layout rather than hardcoded space
1 parent c2580a5 commit f0e98fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/api/power_norm_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
plt.hist2d(data[:, 0], data[:, 1],
2424
bins=100, norm=mcolors.PowerNorm(gamma))
2525

26-
plt.subplots_adjust(hspace=0.8)
26+
plt.tight_layout()
27+
2728
plt.show()

0 commit comments

Comments
 (0)