import geopandas as gpd
from shapely.geometry import Point, LineString, Polygon
import matplotlib.pyplot as plt
plt.figure(figsize=(10, 8))
points = [Point(35.22, -80.84), Point(34.22, -81.84), Point(36.22, -82.84)]
line = LineString([(33.22, -83.84), (35.00, -81.1), (36.22, -81.22)])
polygon = Polygon([(35.11, -80.84), (34.11, -81.84), (36.11, -84.1)])
gdf_points = gpd.GeoDataFrame(geometry=points)
gdf_line = gpd.GeoDataFrame(geometry=[line])
gdf_polygon = gpd.GeoDataFrame(geometry=[polygon])
ax = gdf_points.plot(color="blue", marker="o", label="Points")
gdf_line.plot(ax=ax, color="green", linewidth=2, label="Line")
gdf_polygon.plot(ax=ax, color="red", linewidth=2)
ax.legend()
plt.show()