File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -773,6 +773,14 @@ def set_interpolation(self, s):
773
773
self ._interpolation = s
774
774
self .stale = True
775
775
776
+ def get_interpolation_stage (self ):
777
+ """
778
+ Return when interpolation happens during the transform to RGBA.
779
+
780
+ One of 'data', 'rgba'.
781
+ """
782
+ return self ._interpolation_stage
783
+
776
784
def set_interpolation_stage (self , s ):
777
785
"""
778
786
Set when interpolation happens during the transform to RGBA.
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ class _ImageBase(martist.Artist, cm.ScalarMappable):
89
89
def get_shape (self ) -> tuple [int , int , int ]: ...
90
90
def get_interpolation (self ) -> str : ...
91
91
def set_interpolation (self , s : str | None ) -> None : ...
92
+ def get_interpolation_stage (self ) -> Literal ["data" , "rgba" ]: ...
92
93
def set_interpolation_stage (self , s : Literal ["data" , "rgba" ]) -> None : ...
93
94
def can_composite (self ) -> bool : ...
94
95
def set_resample (self , v : bool | None ) -> None : ...
You can’t perform that action at this time.
0 commit comments