I currently upgraded from Debian 11.11 (bullseye) and wrf-python 1.3.4.1 to Debian 12.12 (bookworm) and wrf-python 1.4.1. Since then I am having problems using the contour and contourf commands. I could run the attached code on the Debian 11 setup but get errors on the contour and contourf commands (lines 43-46) when I try the same code on the upgraded machine. The error messages on the upgraded machine end with this:
AttributeError: 'QuadContourSet' object has no attribute 'collections'
Any thoughts about how to fix this?