Skip to content

Commit f017a0e

Browse files
authored
Merge pull request #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

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
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

lib/matplotlib/axes/_base.pyi

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy