diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index f923c8ca0fe3..1e6ed27eabbf 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -2568,6 +2568,9 @@ def pie(self, x, explode=None, labels=None, colors=None, raise ValueError("'explode' must be of length 'x'") if colors is None: colors = ('b', 'g', 'r', 'c', 'm', 'y', 'k', 'w') + if 'color' in self._get_lines._prop_keys: + colors = [next(self._get_lines.prop_cycler)['color'] + for _ in range(len(colors))] if radius is None: radius = 1 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