FIX: Deprecate using clabel() with filled contours#31347
FIX: Deprecate using clabel() with filled contours#31347timhoffm wants to merge 1 commit intomatplotlib:mainfrom
Conversation
3b2af05 to
a5b4b7f
Compare
a5b4b7f to
46baee2
Compare
|
Still need to fix test failures. |
|
Should there also be a deprecated directive on the |
|
IMHO we do not need to add a deprecation message to the docstring. Since this resulted in broken plots, I was on the edge of directly raising to reduce effort. Doing the deprecation is the more defensive approach of first notifying people that their plot is broken before actually raising. The deprecation is on the technical level (disallow the code path). Semantically, it was never intended or did work. So as far as the docstring is concerned, a clarification is sufficient. |
It's never been intended to be used that way and may cause inconsistent plots. Closes matplotlib#31344.
46baee2 to
169a730
Compare
|
I agree with #31347 (review) that the cs_filled test was likely only added for completeness and without realization that clabel does not work properly with contourf. |
It's never been intended to be used that way and may cause inconsistent plots. Closes #31344.