Qt4Agg backend - edit curves and axis parameters

Unfortunately this issue with the color changing after editing axis
parameters still doesn't appear to have been resolved as of 1.3.1 or in the
latest source. Is there an easy fix for it? It's a very useful feature for
me because my figure is embedded in a QT4 GUI without easy access to the
command line.

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Qt4Agg-backend-edit-curves-and-axis-parameters-tp10161p42461.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Please check if this PR fixes the problem https://github.com/matplotlib/matplotlib/pull/2112

Regards

Thomas

···

On Wed, Nov 6, 2013 at 12:52 PM, aperception <perceptualchaos2@…287…> wrote:

Unfortunately this issue with the color changing after editing axis

parameters still doesn’t appear to have been resolved as of 1.3.1 or in the

latest source. Is there an easy fix for it? It’s a very useful feature for

me because my figure is embedded in a QT4 GUI without easy access to the

command line.

View this message in context: http://matplotlib.1069221.n5.nabble.com/Qt4Agg-backend-edit-curves-and-axis-parameters-tp10161p42461.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


November Webinars for C, C++, Fortran Developers

Accelerate application performance with scalable programming models. Explore

techniques for threading, error checking, porting, and tuning. Get the most

from the latest Intel processors and coprocessors. See abstracts and register

http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Dear Thomas,

I replaced figureoptions.py in 1.3.1 with the corresponding file in your
commit
<https://github.com/rhoef/matplotlib/blob/2bffa69cf7dc6b571fc5fdea27dba560d55a37de/lib/matplotlib/backends/qt4_editor/figureoptions.py>
, and can confirm that it has resolved the issue.

Thank you very much! I will start using this patch immediately.

Best Regards,
Tim

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Qt4Agg-backend-edit-curves-and-axis-parameters-tp10161p42467.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Easily patched the 1.3.0 version in Enthought distribution by replacing
matplotlib\backends\qt4_editor\figureoptions.py line 33-34 with:

COLORS = {'c': '#00bfbf', 'b': '#0000ff', 'w': '#ffffff', 'g': '#008000',
          'y': '#bfbf00', 'k': '#000000', 'r': '#ff0000', 'm': '#bf00bf'}

Excellent!

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Qt4Agg-backend-edit-curves-and-axis-parameters-tp10161p42468.html
Sent from the matplotlib - users mailing list archive at Nabble.com.