Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90a7133

Browse files
committed
Fix mlab.rec_join.
`examples/misc/rec_lab_demo.py` was broken on Python3.
1 parent 46d6e6c commit 90a7133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@ def mapped_r2field(name):
26132613

26142614
if jointype != 'inner' and defaults is not None:
26152615
# fill in the defaults enmasse
2616-
newrec_fields = list(six.iterkeys(newrec.dtype.fields.keys))
2616+
newrec_fields = list(six.iterkeys(newrec.dtype.fields))
26172617
for k, v in six.iteritems(defaults):
26182618
if k in newrec_fields:
26192619
newrec[k] = v

0 commit comments

Comments
 (0)