Skip to content

PyQt5 pyplot error #6858

@plooney

Description

@plooney

Ubuntu 16.04
Python 3.5.2
matplotlib 1.5.1
PyQt5 5.7

Installed using pip in anaconda

QObject::connect: Cannot connect NavigationToolbar2QT::message(QString) to (null)::_show_message()
Traceback (most recent call last):
File "test_conv.py", line 14, in
plt.plot(xvals)
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/pyplot.py", line 3147, in plot
ax = gca()
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/pyplot.py", line 928, in gca
return gcf().gca(*_kwargs)
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/pyplot.py", line 578, in gcf
return figure()
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/pyplot.py", line 527, in figure
*_kwargs)
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5agg.py", line 43, in new_figure_manager
return new_figure_manager_given_figure(num, thisFig)
File "/home/padraig/.local/lib/python3.5/site-packages/matplotlib/backends/backend_qt5agg.py", line 51, in new_figure_manager_given_figure
return FigureManagerQT(canvas, num)
File "/home/padraig/.local/lib/python3.5/site-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()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy