Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e9fcb97

Browse filesBrowse 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
Copy full SHA for e9fcb97

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/mlab.py

Copy file name to clipboardExpand all lines: lib/matplotlib/mlab.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.