Skip to content

Commit 8506c33

Browse files
committed
Merge branch 'colorcycle' of git://github.com/faucon/matplotlib
2 parents 0a9e86a + 531b7cc commit 8506c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _xy_from_xy(self, x, y):
248248

249249
def _makeline(self, x, y, kw, kwargs):
250250
kw = kw.copy() # Don't modify the original kw.
251-
if not 'color' in kw:
251+
if not 'color' in kw and not 'color' in kwargs.keys():
252252
kw['color'] = self.color_cycle.next()
253253
# (can't use setdefault because it always evaluates
254254
# its second argument)

0 commit comments

Comments
 (0)