Re: [Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-12 Thread Damon McDougall
On Wed, Sep 12, 2012 at 11:31 PM, Goutam Paul wrote: > It seems that there are only five line-styles: > > "-" (solid) – default > "--" (dashed) > "-." (dash dot) > ":" (dotted) > "None" or " " or "" (nothing) > > What if I want to have more linestyles? Say, ++, **, xx, ~~, etc. Is it > possible to

[Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-12 Thread Goutam Paul
It seems that there are only five line-styles: "-" (solid) – default "--" (dashed) "-." (dash dot) ":" (dotted) "None" or " " or "" (nothing) What if I want to have more linestyles? Say, ++, **, xx, ~~, etc. Is it possible to have user-defined linestyles? How?

Re: [Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
OK, a little bit more of manual reading I got the "drag point" working. Now, even though it works, I would like the opinion of someone with more experience on event handling to improve that. Thanks, Filipe On Wed, Sep 12, 2012 at 6:14 PM, Filipe Pires Alvarenga Fernandes wrote: > After some mod

Re: [Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
After some modifications and manual reading I got "insert" point and "delete" point working, but I still cannot make the "drag" point work... -Filipe On Wed, Sep 12, 2012 at 4:04 PM, Filipe Pires Alvarenga Fernandes wrote: > Hi all, > > I am trying to create a class to edit the points of a plot

[Matplotlib-users] Drag, add, remove points from a plot with the mouse

2012-09-12 Thread Filipe Pires Alvarenga Fernandes
Hi all, I am trying to create a class to edit the points of a plot based on the poly_editor.py example. However, I have very little experience with even handling and I need some help. Here is what I did so far, the "toggle" on/off works fine. Also I believe that actions "press", "release", "ins

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-12 Thread Damon McDougall
On Wed, Sep 12, 2012 at 5:57 PM, Aronne Merrelli wrote: > On Tue, Sep 11, 2012 at 10:49 AM, Damon McDougall > wrote: >> On Tue, Sep 11, 2012 at 3:34 PM, Neal Becker wrote: >>> OK, I've attached my sanitized example >>> >> >> ImportError: No module named pandas. >> >> Can you provide an example t

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-12 Thread Aronne Merrelli
On Tue, Sep 11, 2012 at 10:49 AM, Damon McDougall wrote: > On Tue, Sep 11, 2012 at 3:34 PM, Neal Becker wrote: >> OK, I've attached my sanitized example >> > > ImportError: No module named pandas. > > Can you provide an example that doesn't depend on pandas? > I was playing with this example to

Re: [Matplotlib-users] a memory leak in matplotlib plot embedded inwxpython

2012-09-12 Thread Barraclough, Dominic (ext. 414)
Happiness - Upgrading numpy to v 1.6.2 - I had been using 1.6.0b - seems to have fixed things - my app's memory usage is now flat. Dominic From: Barraclough, Dominic (ext. 414) [mailto:d...@qvii.com] Sent: Tuesday, September 11, 2012 4:28 PM To: matplot

Re: [Matplotlib-users] zoomed in detail box

2012-09-12 Thread Dale Chayes
[replying only to the list -Dale] On Sep 12, 2012, at 07:02 , Jae-Joon Lee wrote: > Your code works as expected in my side. I wasn't quite sure what to expect, but based on Jae-Joon's note: > So, changing (0.5, 0.5) to something like (0.6, 0.5) has no effect in > your side? It seems to work o

Re: [Matplotlib-users] Fwd: zoomed in detail box

2012-09-12 Thread Jae-Joon Lee
Your code works as expected in my side. So, changing (0.5, 0.5) to something like (0.6, 0.5) has no effect in your side? Hmm, what is you matplotlib version? Maybe this is a bug in old version of matplotlib. Regards, -JJ On Wed, Sep 12, 2012 at 6:16 PM, darkside wrote: > Thank you for your he

Re: [Matplotlib-users] Fwd: zoomed in detail box

2012-09-12 Thread darkside
Thank you for your help. A simple example that doesn't work for me is: import pylab as p import numpy as np from mpl_toolkits.axes_grid.inset_locator import zoomed_inset_axes from mpl_toolkits.axes_grid.inset_locator import mark_inset from mpl_toolkits.axes