qt4_editor

Hi Gökhan,

I've uploaded the latest version for review at the sourceforge tracker :
https://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722

Please report any remaining bugs.

···

On Sat, Apr 3, 2010 at 6:23 AM, Gökhan Sever <gokhansever@...149...> wrote:

Hi Peter,

Your previous addition looks fine here. Keep pinging probably someone should
commit your additions.

I would like to see your further editions. Maybe you can use google-code or
somewhere to host the code and continue making additions there. Once some
important steps are completed changes can integrated into matplotlib back.

--
Gökhan

I've now uploaded the final version for review at the sourceforge tracker :
https://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722

figureoptions.py: modify plot options interactively (see attached screenshot)
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 Sat, Apr 3, 2010 at 6:23 AM, Gökhan Sever <gokhansever@...149...> wrote:

Hi Peter,

Your previous addition looks fine here. Keep pinging probably someone should
commit your additions.

Hello,

I couldn’t make options in Texts tab working. I simply add a text by:

plt.text(0,1, “test”)

Texts tab appears however nothing functions. I get errors ending with “TypeError: ‘str’ object is not callable” in my each try.

Could the similar text-editing functionality be added for label and title text? It would be nice to update them via these menus.

···

On Sun, Apr 11, 2010 at 1:53 PM, Peter Butterworth <butterw@…149…> wrote:

I’ve now uploaded the final version for review at the sourceforge tracker :
https://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722

figureoptions.py: modify plot options interactively (see attached screenshot)

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


Gökhan

Hi,

I have been unable to reproduce the problem on my system.
matplotlib.__version__ : '0.99.3rc1' + Python 2.6.5 on Win32

attached is a test example, could you please post the full error trace?
Is the text tab populated correctly with labels, does the problem
occur immediately or on clicking Apply ?

Could the similar text-editing functionality be added for label and title
text? It would be nice to update them via these menus.

yes, I believe it should be possible to add title and xlabel text
objects to the texts tab.

qt4ed_demo.py (1.37 KB)

···

On Tue, Apr 13, 2010 at 6:55 AM, Gökhan Sever <gokhansever@...149...> wrote:

On Sun, Apr 11, 2010 at 1:53 PM, Peter Butterworth <butterw@...149...> > wrote:

I've now uploaded the final version for review at the sourceforge tracker
:

https://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722

figureoptions.py: modify plot options interactively (see attached
screenshot)
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

Hello,

I couldn't make options in Texts tab working. I simply add a text by:

plt.text(0,1, "test")

Texts tab appears however nothing functions. I get errors ending with
"TypeError: 'str' object is not callable" in my each try.

--
Gökhan

--
thanks,
peter butterworth

Hi,

I have been unable to reproduce the problem on my system.

matplotlib.version : ‘0.99.3rc1’ + Python 2.6.5 on Win32

attached is a test example, could you please post the full error trace?

Is the text tab populated correctly with labels, does the problem

occur immediately or on clicking Apply ?

Demo looks great and works without any issues. I think these updates and example should definitely committed into the svn. New users might find these additions so useful. I also see that it works well with multiple instances of same types.

I[2]: plt.text(0.1,0.1, “mest”)

I[3]: plt.text(0.4,0.4, “test”)

I[4]: plt.text(0.9,0.9, “rest”)

For some unknown reason the error messages I got before disappeared when I tried your demo.

Darren might be helpful at this point to submit the changes.

Could the similar text-editing functionality be added for label and title

text? It would be nice to update them via these menus.

yes, I believe it should be possible to add title and xlabel text

objects to the texts tab.

Yes, this would be another nice addition.

Thanks for your efforts.

···

On Tue, Apr 13, 2010 at 10:40 PM, Peter Butterworth <butterw@…149…> wrote:

On Tue, Apr 13, 2010 at 6:55 AM, Gökhan Sever <gokhansever@…149…> wrote:

On Sun, Apr 11, 2010 at 1:53 PM, Peter Butterworth <butterw@…149…> > > > wrote:

I’ve now uploaded the final version for review at the sourceforge tracker

:

https://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722

figureoptions.py: modify plot options interactively (see attached

screenshot)

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

Hello,

I couldn’t make options in Texts tab working. I simply add a text by:

plt.text(0,1, “test”)

Texts tab appears however nothing functions. I get errors ending with

“TypeError: ‘str’ object is not callable” in my each try.

Gökhan

thanks,

peter butterworth


Gökhan

My time is completely spoken for this week. But I'll have a look this
weekend if some helpful person doesn't beat me to it.

Darren

···

On Wed, Apr 14, 2010 at 2:18 AM, Gökhan Sever <gokhansever@...149...> wrote:

On Tue, Apr 13, 2010 at 10:40 PM, Peter Butterworth <butterw@...149...> > wrote:

Hi,

I have been unable to reproduce the problem on my system.
matplotlib.__version__ : '0.99.3rc1' + Python 2.6.5 on Win32

attached is a test example, could you please post the full error trace?
Is the text tab populated correctly with labels, does the problem
occur immediately or on clicking Apply ?

Demo looks great and works without any issues. I think these updates and
example should definitely committed into the svn. New users might find these
additions so useful. I also see that it works well with multiple instances
of same types.

I[2]: plt.text(0.1,0.1, "mest")

I[3]: plt.text(0.4,0.4, "test")

I[4]: plt.text(0.9,0.9, "rest")

For some unknown reason the error messages I got before disappeared when I
tried your demo.

Darren might be helpful at this point to submit the changes.

Hi Darren,

Any progress on looking at the Qt4editor patch ?

···

On Wed, Apr 14, 2010 at 1:44 PM, Darren Dale <dsdale24@...149...> wrote:

Darren might be helpful at this point to submit the changes.

My time is completely spoken for this week. But I'll have a look this
weekend if some helpful person doesn't beat me to it.

Darren

--
thanks,
peter butterworth

No, I'm sorry. Its unfair to you that I am the bottleneck here. I just
looked for the patch at
http://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722
but didn't find it. Is the figureoptions.py file there all that is
needed?

···

On Wed, May 12, 2010 at 4:46 PM, Peter Butterworth <butterw@...149...> wrote:

Hi Darren,

Any progress on looking at the Qt4editor patch ?

On Wed, Apr 14, 2010 at 1:44 PM, Darren Dale <dsdale24@...149...> wrote:

Darren might be helpful at this point to submit the changes.

My time is completely spoken for this week. But I'll have a look this
weekend if some helpful person doesn't beat me to it.

Darren

--
thanks,
peter butterworth

patch attached

qt4ed_demo.py is an example file which should be put in
matplotlib\examples\pylab_examples
other than that figureoptions.py is the only file changed.

qt4_editor.zip (27.9 KB)

···

On Wed, May 12, 2010 at 11:56 PM, Darren Dale <dsdale24@...149...> wrote:

No, I'm sorry. Its unfair to you that I am the bottleneck here. I just
looked for the patch at
http://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722
but didn't find it. Is the figureoptions.py file there all that is
needed?

On Wed, May 12, 2010 at 4:46 PM, Peter Butterworth <butterw@...149...> wrote:

Hi Darren,

Any progress on looking at the Qt4editor patch ?

On Wed, Apr 14, 2010 at 1:44 PM, Darren Dale <dsdale24@...149...> wrote:

Darren might be helpful at this point to submit the changes.

My time is completely spoken for this week. But I'll have a look this
weekend if some helpful person doesn't beat me to it.

Darren

--
thanks,
peter butterworth