Note from Dec 2022: The code here work beautifully and I plan to continue making minor bug fixes maintaining the current functionality. But I no longer will be making any improvements to this project.
Bug summary When Z has no variation (all values are equal), contour and contourf silently produce multiple identical levels and render empty collections with no warning to the user. The plot appears ...