6 Jul 2012 11:33
segfault related to NavigationToolbar when using PySide
Hi everybody, The following is a small test yielding a segmentation fault with PySide, but not with PyQt4. To test with PyQt4, use: $ python example.py To test with PySide: $ python example.py pyside With PySide, a segmentation fault appears as soon as the mouse cursor is hovering the plot area. Without the NavigationToolbar (try to comment the corresponding lines), the problem does not appear. It may be related to the display of mouse coordinates in the NavigationToolbar, because when the mouse is hovering the NavigationToolbar, no segfault appears. These are the versions of Qt, PySide, and Matplotlib on my machine: >>> from PySide import QtCore >>> QtCore.qVersion() '4.8.1' >>> from PySide import __version__ >>> __version__ '1.1.0' >>> import matplotlib >>> matplotlib.__version__ '1.1.1rc' Is this a bug? If yes, does any workaround exist?(Continue reading)
RSS Feed