@@ -108,9 +108,9 @@ class Artist:
108108 def set_clip_on (self , b : bool ) -> None : ...
109109 def get_rasterized (self ) -> bool : ...
110110 def set_rasterized (self , rasterized : bool ) -> None : ...
111- def get_agg_filter (self ): ...
111+ def get_agg_filter (self ) -> Callable [[ ArrayLike , float ], tuple [ np . ndarray , float , float ]] | None : ...
112112 def set_agg_filter (
113- self , filter_func : Callable [[ArrayLike , float ], tuple [np .ndarray , float , float ]]
113+ self , filter_func : Callable [[ArrayLike , float ], tuple [np .ndarray , float , float ]] | None
114114 ) -> None : ...
115115 def draw (self , renderer : RendererBase ) -> None : ...
116116 def set_alpha (self , alpha : float | None ) -> None : ...
@@ -125,9 +125,9 @@ class Artist:
125125 def sticky_edges (self ) -> _XYPair : ...
126126 def update_from (self , other : Artist ) -> None : ...
127127 def properties (self ) -> dict [str , Any ]: ...
128- def update (self , props : dict [str , Any ]) -> Any : ...
129- def _internal_update (self , kwargs ) : ...
130- def set (self , ** kwargs : Any ): ...
128+ def update (self , props : dict [str , Any ]) -> list [ Any ] : ...
129+ def _internal_update (self , kwargs : Any ) -> list [ Any ] : ...
130+ def set (self , ** kwargs : Any ) -> list [ Any ] : ...
131131 def findobj (
132132 self ,
133133 match : None | Callable [[Artist ], bool ] | type [Artist ] = ...,
@@ -177,5 +177,5 @@ def getp(obj: Artist, property: str | None = ...) -> Any: ...
177177
178178get = getp
179179
180- def setp (obj : Artist , * args , file : TextIO | None = ..., ** kwargs ): ...
180+ def setp (obj : Artist , * args , file : TextIO | None = ..., ** kwargs ) -> list [ Any ] | None : ...
181181def kwdoc (artist : Artist | type [Artist ] | Iterable [Artist | type [Artist ]]) -> str : ...
0 commit comments