From 90a7133479c6aa9a93d4d6fd2465a6fb8ced1505 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sun, 12 Jun 2016 21:33:09 -0700 Subject: [PATCH] Fix mlab.rec_join. `examples/misc/rec_lab_demo.py` was broken on Python3. --- lib/matplotlib/mlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/mlab.py b/lib/matplotlib/mlab.py index 57fc4995f440..09c698bdaa95 100644 --- a/lib/matplotlib/mlab.py +++ b/lib/matplotlib/mlab.py @@ -2613,7 +2613,7 @@ def mapped_r2field(name): if jointype != 'inner' and defaults is not None: # fill in the defaults enmasse - newrec_fields = list(six.iterkeys(newrec.dtype.fields.keys)) + newrec_fields = list(six.iterkeys(newrec.dtype.fields)) for k, v in six.iteritems(defaults): if k in newrec_fields: newrec[k] = v