diff --git a/doc/api/next_api_changes/deprecations/25138-AL.rst b/doc/api/next_api_changes/deprecations/25138-AL.rst index 8fa510fc4c90..ef2b1c750e25 100644 --- a/doc/api/next_api_changes/deprecations/25138-AL.rst +++ b/doc/api/next_api_changes/deprecations/25138-AL.rst @@ -1,5 +1,6 @@ ``allsegs``, ``allkinds``, ``tcolors`` and ``tlinewidths`` attributes of `.ContourSet` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ These attributes are deprecated; if required, directly retrieve the vertices -and codes of the Path objects in ``QuadContourSet.collections`` and the colors -and the linewidths of these collections. +and codes of the Path objects from ``ContourSet.get_paths()`` and the colors +and the linewidths via ``ContourSet.get_facecolor()``, ``ContourSet.get_edgecolor()`` +and ``ContourSet.get_linewidths()``.