Re: [Matplotlib-users] Limit legend to visible data

2011-01-30 Thread Peter Butterworth
, label_texts, **kwargs) elif ax.get_legend(): ax.get_legend().set_visible(False) -- thanks, peter butterworth -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class

[Matplotlib-users] Annotation Toolbar

2010-10-11 Thread Peter Butterworth
, peter butterworth -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-11 Thread Peter Butterworth
a separate server process and allows accessing the database using a nonstandard variant of the SQL query language. On Sun, Oct 10, 2010 at 12:56 PM, Peter Butterworth butt...@gmail.com wrote: Hi, To load csv data, I use a modified version of csv2rec for which the data type of each column

Re: [Matplotlib-users] Best way to use Excel Data

2010-10-10 Thread Peter Butterworth
a lot of troubles with numbers. Sqlite is fast and data are secure. The power of this system is that you can query your data and plot what you need for example. I can share with you my script to import from csv to sqlite if you want. -- thanks, peter butterworth

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
for consistency in this case. Eric JDH -- thanks, peter butterworth -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune

Re: [Matplotlib-users] matplotlib colors vs html colors

2010-04-14 Thread Peter Butterworth
On Thu, Apr 15, 2010 at 5:16 AM, Peter Butterworth butt...@gmail.com wrote: matlab colors seem to follow html : http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html for c, m, y but not for green, where matplotlib does follow html

[Matplotlib-users] matplotlib colors vs html colors

2010-04-11 Thread Peter Butterworth
sorry if this has been covered before, but I must say I've found the following quite confusing : color=cyan is not in fact equivalent to color='c' in colors.py : Commands which take color arguments can use several formats to specify the colors. For the basic builtin colors, you can use a

[Matplotlib-users] getting legend loc

2010-04-08 Thread Peter Butterworth
Hi, I'm having trouble getting some properties that are easily set : leg=legend(loc=0) is there a way to retrieve the legend location ? In a similar vein : axis('scaled') is there a way to retrieve the scaled property ? If no methods/properties are available in the default API is it possible

Re: [Matplotlib-users] toolbar

2010-03-28 Thread Peter Butterworth
linestyles On Sun, Mar 21, 2010 at 5:22 AM, Peter Butterworth wrote: Correction: '0.99.3rc1' does not include the qt4_editor code, so you do need to get the source files from svn. The feature is a nice addition to matplotlib

Re: [Matplotlib-users] toolbar

2010-03-20 Thread Peter Butterworth
Correction: '0.99.3rc1' does not include the qt4_editor code, so you do need to get the source files from svn. The feature is a nice addition to matplotlib.. On Sun, Mar 21, 2010 at 1:53 AM, Gökhan Sever gokhanse...@gmail.com wrote: On Sat, Mar 20, 2010 at 7:43 PM, butt...@gmail.com wrote:

Re: [Matplotlib-users] Hiding data via legend

2009-10-04 Thread Peter Butterworth
) else : line.set_picker(None) I've attached my line + legend picker example, in case it is of any use to anybody. On Mon, Sep 28, 2009 at 3:43 AM, John Hunter jdh2...@gmail.com wrote: On Sun, Sep 27, 2009 at 3:45 PM, Peter Butterworth butt...@gmail.com wrote: On Sun, Sep 27, 2009 at 9:31

Re: [Matplotlib-users] Hiding data via legend

2009-09-27 Thread Peter Butterworth
On Sun, Sep 27, 2009 at 9:31 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: Some feedback: If plotting a line2D as discrete points rather than a continuous line, you must use numpoints=2 for the legend picking to actually occur on the points. The alpha blending doesn't work on the legend symbols