Skip to content

Commit e8d4502

Browse files
authored
Merge pull request #8060 from tobias-froehlich/master
Added tight_layout() to example.
2 parents e6e8468 + e7caa5e commit e8d4502

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/pylab_examples/axis_equal_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@
2929
plt.plot([0, 4], [0, 4])
3030
plt.title('still equal after adding line', fontsize=10)
3131

32+
plt.tight_layout()
33+
3234
plt.show()

0 commit comments

Comments
 (0)