From 7e05cf2323de08d24fffa0b9dd14c70bd35e33a3 Mon Sep 17 00:00:00 2001 From: Ruth Comer Date: Tue, 1 Aug 2023 11:47:55 +0100 Subject: [PATCH] DOC: update ContourSet attributes deprecation advice --- doc/api/next_api_changes/deprecations/25138-AL.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()``.