xarray
xarray copied to clipboard
include max value in pcolormesh output when levels are requested
- [x] Closes #10911
Not the most elegant solution, but it works and I couldn't figure out another way of solving this for now. The test_discrete_colormap_list_of_levels test fails now, but I would say that it is safe to use numpy's assert_array_almost_equal.
If its not, I'll try to find another solution.
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. If you have questions, some answers may be found in our contributing guidelines.