mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-11 12:10:59 +08:00
Tight bounding box on example figs
This commit is contained in:
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 |
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user