ddale/mpl-issues

Qt4 figure options editor

ddale opened this issue · 0 comments

Original report at SourceForge

some bugfixes and enhancements to Qt4Agg popup plot options

formlayout.py:
validate color strings (for matplotlib)

figureoptions.py:
corrected marker=='none' bug
corrected matplotlib green 'g' and cyan 'c' in COLORS ('g': '#008000')
missing ',' and incorrect naming of some MARKERS
LINESTYLES are sorted. 'steps' removed from linestyles

added:

  • Axes tab:
    Autoscale
    Legend
  • Curves tab:
    Visible

also added an example in figureoptions.py to allow it to be run standalone

SourceForge Comments

On Mon May 31 15:56:05 2010, None wrote:

. tested with PyQt 4.7.2
on 32bit Windows and Ubuntu 10.04 Lucid
under Python 2.6

On Sun Apr 11 14:34:37 2010, None wrote:

figureoptions.py: modify plot options interactively
Requires PyQt4 installed

Support of :

  • Axes (xy scale)
  • Legend
  • Lines
  • Patches (Rectangle, Ellipse, Polygon, dolphins...)
  • Texts

Ignores :

  • Collections

Limitations:

  • not available for multiple axes in the same subplot

    On Mon Apr 5 08:45:49 2010, None wrote:

    . Corrected bug when line.get_color() returns a RGB tuple
    . matplotlib color validation is performed in figureoptions rather than figurelayout
    . legend is updated even if there is no line in legend

SourceForge History

  • On Tue Jun 8 23:06:25 2010, by efiring: assigned_to: 100
  • On Mon May 31 15:52:51 2010, by None: File Added: 375742: qt4_editor.zip
  • On Mon May 31 15:44:53 2010, by None: File Deleted: 370202:
  • On Sun Apr 11 14:39:34 2010, by None: File Added: 370202: figureoptions.py
  • On Sun Apr 11 14:39:34 2010, by None: File Deleted: 370201:
  • On Sun Apr 11 14:37:23 2010, by None: File Added: 370201: Qt4ed_shapes.png
  • On Sun Apr 11 14:36:28 2010, by None: File Deleted: 369474:
  • On Sun Apr 11 14:36:28 2010, by None: File Deleted: 369472:
  • On Mon Apr 5 08:50:37 2010, by None: File Added: 369474: figureoptions.py
  • On Mon Apr 5 08:48:51 2010, by None: File Added: 369472: qt4ed_patch2.diff
  • On Mon Apr 5 08:46:50 2010, by None: File Deleted: 369323:
  • On Sat Apr 3 14:38:16 2010, by None: File Added: 369323: qt4ed_patch1.diff