Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55292 closed defect (fixed)

py27-matplotlib 2.1.0 fails to open interactive window

Reported by: EJFielding (Eric Fielding) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: Schamschula (Marius Schamschula)
Port: py-matplotlib

Description

I recently upgraded to py27-matplotlib @2.1.0_2, and now the interactive plotting window fails to open.

  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 185, in draw_if_interactive
    cls.trigger_manager_draw(manager)
TypeError: unbound method trigger_manager_draw() must be called with _BackendMac instance as first argument (got FigureManagerMac instance instead)

MacOS 10.12.6

Apparently, this is a known problem with matplotlib 2.1.0 and fixed in 2.1.1: https://github.com/matplotlib/matplotlib/issues/9489

Would it be possible to upgrade this port to matplotlib 2.1.1?

Thanks, ++Eric

Change History (5)

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: sean@… removed
Owner: set to seanfarley
Status: newassigned

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Port: py-matplotlib added; py_matplotlib removed

comment:4 Changed 7 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

In 61267b12ab755cc5ace8e7342dae6777cadf5d14/macports-ports:

py-matplotlib: update to 2.1.x branch

Since 2.1.1 is already a month behind schedule, let's just update to a the
proposed branch that will eventually become 2.1.1.

We also fix the webagg backend which was broken back in May.

Fixes: #55292

comment:5 Changed 7 years ago by EJFielding (Eric Fielding)

Thanks, Sean!

The py27-matplotlib @2.1.0.99_0+cairo+tkinter port works on my MacOS 10.12.6 machine.

++Eric

Note: See TracTickets for help on using tickets.