Skip to content

Commit 894113e

Browse files
author
brian-pantano
committed
Use correct prop_cycle in the mpl_stylesheet.
Fixes #11727
1 parent 52c547a commit 894113e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/plotting.py

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