Refactor contour styling to fix MatplotlibDeprecationWarning#2806
Refactor contour styling to fix MatplotlibDeprecationWarning#2806ReimarBauer merged 4 commits intoOpen-MSS:developfrom
Conversation
|
@ReimarBauer pls review this PR |
|
By which pytest do you verify existing plot behavior remains unchanged? |
By |
|
Your proposed changes still use the collections attribute, which as stated in the issue is deprecated. How is this supposed to fix the issue? |
yes u r right, my aim was to suppress the deprecation warning by reducing the dependence on |
|
Mentors, we can follow an alternate method in which we don't rely on |
|
I don't understand why you focus on not being able to pass |
Thnx @matrss, I missed this part , I'll make the changes for the same by direct calling instead of passing, |
|
@matrss pls review the changes |
|
@matrss pls review the changes |
|
@mentors need review for this PR pls |
Purpose of PR?:
Fixes #2728
Changes done:
.collectionsin contour plotting for matplotlib>=3.8 to preventMatplotlibDeprecationWarning._plot_style()to useContourSet.set_path_effects()directly.