Comment 13 for bug 1620300

Revision history for this message
Steve (steve46223) wrote :

The version in Scott Howard's repository is working for me. Thanks!!!

...But minor issue is that some of the graphics backends don't work. (Under Tools --> Preferences --> IPython console or Python console).

For IPython console, the default (inline) works fine, and Qt4 also works fine, but Qt5 doesn't work:

In [1]: import matplotlib.pyplot as plt

In [2]: plt.plot(3,3)
Traceback (most recent call last):

  File "<ipython-input-2-4e78340ee40a>", line 1, in <module>
    plt.plot(3,3)

  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 3146, in plot
    ax = gca()

  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 928, in gca
    return gcf().gca(**kwargs)

  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 578, in gcf
    return figure()

  File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 527, in figure
    **kwargs)

  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_qt5agg.py", line 43, in new_figure_manager
    return new_figure_manager_given_figure(num, thisFig)

  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_qt5agg.py", line 51, in new_figure_manager_given_figure
    return FigureManagerQT(canvas, num)

  File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_qt5.py", line 465, in __init__
    self.toolbar.message.connect(self._show_message)

TypeError: connect() failed between NavigationToolbar2QT.message[str] and _show_message()

For Python console, the default ("automatic") doesn't work (similar error) but one of the other options (Tkinter) works.

But anyway it's entirely usable AFAICT after picking appropriate graphics backends.