Skip to content

Commit 24fffd8

Browse files
committed
Use matplotlib.cm.ScalarMappable
1 parent dea980e commit 24fffd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mslice/plotting/pyplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ def gca() -> Axes:
22162216

22172217
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
22182218
@_copy_docstring_and_deprecators(Figure._gci)
2219-
def gci() -> ScalarMappable | None:
2219+
def gci() -> matplotlib.cm.ScalarMappable | None:
22202220
return gcf()._gci()
22212221

22222222

@@ -3843,7 +3843,7 @@ def xcorr(
38433843
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
38443844
@_copy_docstring_and_deprecators(Axes._sci)
38453845
@set_category(CATEGORY_CUT)
3846-
def sci(im: ScalarMappable) -> None:
3846+
def sci(im: matplotlib.cm.ScalarMappable) -> None:
38473847
gca()._sci(im)
38483848

38493849

@@ -4088,7 +4088,7 @@ def tick_params(axis: Literal["both", "x", "y"] = "both", **kwargs) -> None:
40884088

40894089
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
40904090
@_copy_docstring_and_deprecators(Axes._sci)
4091-
def sci(im: ScalarMappable) -> None:
4091+
def sci(im: matplotlib.cm.ScalarMappable) -> None:
40924092
gca()._sci(im)
40934093

40944094

0 commit comments

Comments
 (0)