79467375

Date: 2025-02-25 17:22:41
Score: 3.5
Natty:
Report link

try adding colourbar afterwards

...
pr_image.plot(ax=ax, add_colorbar=False)
...
cbar = fig.colorbar(pr_image.isel(time=0).plot())
#show or save animation

i has the same issue and answered my own question here

how to animation with xarray dataset and cartopy projection with a colorbar?

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