Skip to content

patch for qt4 backend #238

Description

@ddale

Original report at SourceForge, opened Thu Apr 14 15:29:33 2011

I want to propose a patch for matplotlib-1.0.1 fixing some bugs in the qt4 backend + minor changes

backend_qt4.py
-) inheritance bug in NaviagtionToolbar2QT
calling QtGui.QToolBar.init( ) before NavigationToolbar2.init( ) causes that self cannot be used as parent for QFileDialog ( funciton save_figure)
-) subplottool creates its own MainWindow --> leaving Dialog open even if the plot is closed -> made Dialog modal
-) proposal for a slightly altererd funciton edit_parameters. Instead of repr(axes) it uses "Axes_%d" to make the choises more human readable

figureoptions.py
-) attribute COLOR redifines mpl-default colors slighty differend (e.g. 'y': '#bfbf00', vs 'y': '#ffff00')
-) funciton col2hex can now handle rgb, hex and mpl-default colors

SourceForge History

  • On Thu Apr 14 15:30:31 2011, by rhoef: File Added: 408749: qt4backend.patch

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions