79600731

Date: 2025-04-30 16:28:27
Score: 1.5
Natty:
Report link

Your code sample is incomplete so it is impossible to reproduce.

Does it work if you simplify your plotting to this?

import matplotlib.pyplot as plt
import geopandas as gpd

df = gpd.read_file(r"C:\Users\bera\Desktop\gistest\world.geojson")
fig, axes = plt.subplots(nrows=3, ncols=1, figsize=(3, 6))

df.plot(ax=axes[0], color="red")
axes[0].set_title("Red")
df.plot(ax=axes[1], color="blue")
axes[1].set_title("Blue")
df.plot(ax=axes[2], color="green")
axes[2].set_title("Green")

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Bera