@@ -4,8 +4,10 @@ from matplotlib.axes import Axes
44from matplotlib .collections import Collection , PathCollection
55from matplotlib .colors import Colormap , Normalize
66from matplotlib .font_manager import FontProperties
7+ from matplotlib .path import Path
8+ from matplotlib .patches import Patch
79from matplotlib .text import Text
8- from matplotlib .transforms import Transform
10+ from matplotlib .transforms import Transform , TransformedPatchPath , TransformedPath
911from matplotlib .ticker import Locator , Formatter
1012
1113from numpy .typing import ArrayLike
@@ -99,6 +101,7 @@ class ContourSet(ContourLabeler, Collection):
99101 negative_linestyles : None | Literal [
100102 "solid" , "dashed" , "dashdot" , "dotted"
101103 ] | Iterable [Literal ["solid" , "dashed" , "dashdot" , "dotted" ]]
104+ clip_path : Patch | Path | TransformedPath | TransformedPatchPath | None
102105 labelTexts : list [Text ]
103106 labelCValues : list [ColorType ]
104107 allkinds : list [np .ndarray ]
@@ -145,6 +148,7 @@ class ContourSet(ContourLabeler, Collection):
145148 negative_linestyles : Literal ["solid" , "dashed" , "dashdot" , "dotted" ]
146149 | Iterable [Literal ["solid" , "dashed" , "dashdot" , "dotted" ]]
147150 | None = ...,
151+ clip_path : Patch | Path | TransformedPath | TransformedPatchPath | None = ...,
148152 ** kwargs
149153 ) -> None : ...
150154 def legend_elements (
0 commit comments