Source: matplotlib
Version: 1.5.2~rc2-1
Severity: important
Tags: upstream

Dear maintainer,

using the plot command in yade package leads to the following error
in matplotlib:

===========================
QObject::connect: Cannot connect NavigationToolbar2QT::message(QString) to 
(null)::_show_message()
Traceback (most recent call last):
    File "/usr/bin/yade", line 182, in runScript
        execfile(script,globals())
      File "grav.py", line 67, in <module>
        plot.plot()
      File "/usr/lib/x86_64-linux-gnu/yade/py/yade/plot.py", line 592, in plot
        createPlots(subPlots=subPlots)
      File "/usr/lib/x86_64-linux-gnu/yade/py/yade/plot.py", line 381, in 
createPlots
        else: pylab.subplot(subRows,subCols,nPlot+1)
      File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 1021, 
in subplot
        fig = gcf()
      File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 578, 
in gcf
        return figure()
      File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 527, 
in figure
        **kwargs)
      File 
"/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5agg.py", line 
43, in new_figure_manager
        return new_figure_manager_given_figure(num, thisFig)

      File 
"/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5agg.py", line 
51, in new_figure_manager_given_figure
          return FigureManagerQT(canvas, num)
File "/usr/lib/python2.7/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()
===========================


The problem is fixed by upstream already [1].
It would be good if the patch will be applied
in Debian too.

[1] https://github.com/matplotlib/matplotlib/issues/6858

Thanks

Anton

Reply via email to