Skip to content

Commit e9fcb97

Browse files
authored
Merge pull request #9596 from matplotlib/auto-backport-of-pr-9589
Backport PR #9589 on branch v2.1.x
2 parents fb3b30b + f194cb9 commit e9fcb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,7 @@ def rec_append_fields(rec, names, arrs, dtypes=None):
23302330
values themselves.
23312331
"""
23322332
if (not isinstance(names, six.string_types) and cbook.iterable(names)
2333-
and len(names) and isinstance(names[0]), six.string_types):
2333+
and len(names) and isinstance(names[0], six.string_types)):
23342334
if len(names) != len(arrs):
23352335
raise ValueError("number of arrays do not match number of names")
23362336
else: # we have only 1 name and 1 array

0 commit comments

Comments
 (0)