Skip to content

Commit f017a0e

Browse files
authored
Merge pull request matplotlib#29920 from vnmabus/patch-1
2 parents a7b4a8b + 418c572 commit f017a0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/matplotlib/axes/_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ def set_prop_cycle(self, *args, **kwargs):
16001600
16011601
Parameters
16021602
----------
1603-
cycler : `~cycler.Cycler`
1603+
cycler : `~cycler.Cycler` or ``None``
16041604
Set the given Cycler. *None* resets to the cycle defined by the
16051605
current style.
16061606

Diff for: lib/matplotlib/axes/_base.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class _AxesBase(martist.Artist):
182182
def get_facecolor(self) -> ColorType: ...
183183
def set_facecolor(self, color: ColorType | None) -> None: ...
184184
@overload
185-
def set_prop_cycle(self, cycler: Cycler) -> None: ...
185+
def set_prop_cycle(self, cycler: Cycler | None) -> None: ...
186186
@overload
187187
def set_prop_cycle(self, label: str, values: Iterable[Any]) -> None: ...
188188
@overload

0 commit comments

Comments
 (0)