Rather than redrawing a pcolormesh on each frame the GeoImagePlot now updates the artist directly. This only works because the extents of the colormesh shouldn't change across a single cube. To be completely safe I could request a full redraw if the lat/lon coordinates change but I don't think it's necessary. I've also avoided updating the the GeoFeature on each frame as it is expected to be static.
If someone thinks either of these assumptions isn't valid I could check more explicitly if things are unchanged and revert to the old behavior if they do not hold.
Rather than redrawing a
pcolormesh
on each frame theGeoImagePlot
now updates the artist directly. This only works because the extents of the colormesh shouldn't change across a single cube. To be completely safe I could request a full redraw if the lat/lon coordinates change but I don't think it's necessary. I've also avoided updating the theGeoFeature
on each frame as it is expected to be static.If someone thinks either of these assumptions isn't valid I could check more explicitly if things are unchanged and revert to the old behavior if they do not hold.