File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ class Animation:
183
183
embed_frames : bool = ...,
184
184
default_mode : str | None = ...,
185
185
) -> str : ...
186
+ def _repr_html_ (self ) -> str : ...
186
187
def pause (self ) -> None : ...
187
188
def resume (self ) -> None : ...
188
189
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ class Colormap:
97
97
def is_gray (self ) -> bool : ...
98
98
def resampled (self , lutsize : int ) -> Colormap : ...
99
99
def reversed (self , name : str | None = ...) -> Colormap : ...
100
+ def _repr_html_ (self ) -> str : ...
101
+ def _repr_png_ (self ) -> bytes : ...
100
102
def copy (self ) -> Colormap : ...
101
103
102
104
class LinearSegmentedColormap (Colormap ):
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ class Figure(FigureBase):
315
315
** kwargs
316
316
) -> None : ...
317
317
def get_layout_engine (self ) -> LayoutEngine | None : ...
318
+ def _repr_html_ (self ) -> str | None : ...
318
319
def show (self , warn : bool = ...) -> None : ...
319
320
@property # type: ignore[misc]
320
321
def axes (self ) -> list [Axes ]: ... # type: ignore[override]
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ class FontEntry:
35
35
weight : str | int = ...
36
36
stretch : str = ...
37
37
size : str = ...
38
+ def _repr_html_ (self ) -> str : ...
39
+ def _repr_png_ (self ) -> bytes : ...
38
40
39
41
def ttfFontProperty (font : ft2font .FT2Font ) -> FontEntry : ...
40
42
def afmFontProperty (fontpath : str , font : AFM ) -> FontEntry : ...
You can’t perform that action at this time.
0 commit comments