We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d934dc1 commit 8dbe8cbCopy full SHA for 8dbe8cb
lib/matplotlib/axes.py
@@ -108,18 +108,6 @@ def _process_plot_format(fmt):
108
109
"""
110
111
- colors = {
112
- 'b' : 1,
113
- 'g' : 1,
114
- 'r' : 1,
115
- 'c' : 1,
116
- 'm' : 1,
117
- 'y' : 1,
118
- 'k' : 1,
119
- 'w' : 1,
120
- }
121
-
122
123
linestyle = None
124
marker = None
125
color = None
@@ -154,7 +142,7 @@ def _process_plot_format(fmt):
154
142
if marker is not None:
155
143
raise ValueError, 'Illegal format string "%s"; two marker symbols' % fmt
156
144
marker = c
157
- elif colors.has_key(c):
145
+ elif colorConverter.colors.has_key(c):
158
146
if color is not None:
159
147
raise ValueError, 'Illegal format string "%s"; two color symbols' % fmt
160
148
color = c
0 commit comments