Skip to content

Commit 87a9880

Browse files
brian-pantanojreback
brian-pantano
authored andcommitted
Use correct prop_cycle in the mpl_stylesheet.
Fixes #11727 Author: brian-pantano <brian@readfa.st> Closes #12227 from brian-pantano/patch-1 and squashes the following commits: 894113e [brian-pantano] Use correct prop_cycle in the mpl_stylesheet.
1 parent fdb10e0 commit 87a9880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def _mpl_ge_1_5_0():
135135
# Compat with mp 1.5, which uses cycler.
136136
import cycler
137137
colors = mpl_stylesheet.pop('axes.color_cycle')
138-
mpl_stylesheet['axes.prop_cycle'] = cycler.cycler('color_cycle', colors)
138+
mpl_stylesheet['axes.prop_cycle'] = cycler.cycler('color', colors)
139139

140140

141141
def _get_standard_kind(kind):

0 commit comments

Comments
 (0)