79443096

Date: 2025-02-16 12:03:41
Score: 0.5
Natty:
Report link

I have a multipolygon object:

import matplotlib.pyplot as plt
from shapely.plotting import plot_polygon

print(type(multipolygon))
#<class 'shapely.geometry.multipolygon.MultiPolygon'>

fig, ax = plt.subplots(nrows=1, ncols=1, figsize=(8,5))
plot_polygon(polygon=multipolygon, ax=ax, add_points=False, color="green")
fig.savefig(r"C:\Users\bera\Desktop\gistest\usa.pdf", bbox_inches='tight')

The pdf: enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Bera