From 894113eb25b178c4c7e7b006cf1a9cff1e74f5ec Mon Sep 17 00:00:00 2001 From: brian-pantano Date: Wed, 3 Feb 2016 14:33:02 -0500 Subject: [PATCH] Use correct prop_cycle in the mpl_stylesheet. Fixes https://github.com/pydata/pandas/issues/11727 --- pandas/tools/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index 03d9fe75da8cc..103b7484ea138 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -135,7 +135,7 @@ def _mpl_ge_1_5_0(): # Compat with mp 1.5, which uses cycler. import cycler colors = mpl_stylesheet.pop('axes.color_cycle') - mpl_stylesheet['axes.prop_cycle'] = cycler.cycler('color_cycle', colors) + mpl_stylesheet['axes.prop_cycle'] = cycler.cycler('color', colors) def _get_standard_kind(kind):