Matplotlib and wxagg on RHEL 7

Latest response

I noticed that wx (wxagg) support is no longer included with the python-matplotlib package in RHEL 7. I can't find any discussion regarding this decision. Does anyone know the answer?

Responses

I don't think this was a decision specific to Red Hat but a choice made by the upstream project (matplotlib).

You can check the changelog for the package on this page:
https://access.redhat.com/downloads/content/rhel---7/x86_64/2456/python-matplotlib/1.2.0-15.el7/x86_64/fd431d51/package

It mentions lack of support for wx and removing wx from the RHEL 7 packages, namely these two entries (relevant entries pasted):

2013-01-03 David Malcolm dmalcolm@redhat.com - 1.2.0-6
- remove wx support for rhel >= 7

2012-11-22 pcpa paulo.cesar.pereira.de.andrade@gmail.com - 1.2.0-1
- Cleanup spec as wx backend is no longer supported

That would make sense, but I can't find any indication upstream (matplotlib) that there is a change in support for wx. I've rebuilt the python-matplotlib-wx RPM from source by modifying the SPEC file and it works great. Also, the wx backend is still supported in the latest Fedora release.

I'll PM the redhat developer and ask him directly, then re-post the answer here.

For anyone who is interested, I received a response from David Malcolm. It's because wx and wxPython aren't part of the official RHEL 7 pacakge collection. (Although they are available through EPEL.)

So the solution is to either rebuild from the source RPM yourself, or find a way to get python-matplotlib-wx into the EPEL repo.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.