Tight bounding box on example figs

This commit is contained in:
Kelsey Jordahl
2013-06-27 14:48:26 -05:00
parent 500036109b
commit de60a8877e
3 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 72 KiB

+2 -2
View File
@@ -153,7 +153,7 @@ if __name__ == '__main__':
ax = g.plot()
ax.set_xlim([-0.5, 3.5])
ax.set_ylim([-0.5, 1.5])
plt.savefig('test.png', dpi=dpi)
plt.savefig('test.png', dpi=dpi, bbox_inches='tight')
g.buffer(0.5).plot()
plt.savefig('test_buffer.png', dpi=dpi)
plt.savefig('test_buffer.png', dpi=dpi, bbox_inches='tight')
plt.show()