proplot-dev / proplot

🎨 A succinct matplotlib wrapper for making beautiful, publication-quality graphics
https://proplot.readthedocs.io
MIT License
1.07k stars 96 forks source link

contourf missing levels #360

Open pgoddard08 opened 2 years ago

pgoddard08 commented 2 years ago

Description

Hi. I've come across an error in plotting that I am unsure how to diagnose. The data is a simple 2D temperature field. When I use the south pole projection, the contourf does not show values greater than about 260K. But if I use contour or pcolormesh, the values are shown. Furthermore, if I change from the 'splaea' to 'robin' projection, contourf shows all the values - as expected. What is causing the issue with contourf for 'splaea' projection? If I don't use proplot (just use matplotlib) I do not have this issue. Thanks!

Steps to reproduce

A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you.

Proplot version

image

image

Equivalent steps in matplotlib

image