8000 fixed color bug 1205711 · matplotlib/matplotlib@67d39ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 67d39ec

Browse files
committed
fixed color bug 1205711
svn path=/trunk/matplotlib/; revision=1353
1 parent b8dcc07 commit 67d39ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def looks_like_color(c):
323323
if is_string_like(c):
324324
if cnames.has_key(c): return True
325325
elif len(c)==1: return True
326-
elif len(s)==7 and c.startswith('#') and len(s)==7: return True
326+
elif len(c)==7 and c.startswith('#') and len(c)==7: return True
327327
else: return False
328328
elif iterable(c) and len(c)==3:
329329
try:

0 commit comments

Comments
 (0)
0