more padding and 600 dpi for map

This commit is contained in:
2025-11-01 15:19:09 -07:00
parent 1ee5d2fb06
commit 33a3a96126
3 changed files with 1 additions and 1 deletions

View File

@@ -336,7 +336,7 @@ def map_hex(spills: gpd.GeoDataFrame, boundary: gpd.GeoDataFrame, counties: gpd.
out_pdf = OUT / 'spill_map_hex.pdf'
out_png = OUT / 'spill_map_hex.png'
fig.savefig(out_pdf)
fig.savefig(out_png, dpi=300, bbox_inches='tight', pad_inches=0.05)
fig.savefig(out_png, dpi=600, bbox_inches='tight', pad_inches=0.1)
plt.close(fig)
return out_pdf