Re: [Matplotlib-users] No installer yet for a Python 2.7-compat. version?

2010-08-20 Thread David Goldsmith
On Mon, Aug 16, 2010 at 9:26 AM, David Goldsmith wrote: > And is NumPy 1.5 compat. confirmed yet?  Thanks! > > DG Did I miss a response to this? If not, does silence => (Yes, No)? -- This SF.net email is

[Matplotlib-users] No installer yet for a Python 2.7-compat. version?

2010-08-16 Thread David Goldsmith
And is NumPy 1.5 compat. confirmed yet? Thanks! DG -- Privacy is overrated; Identity isn't. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf

Re: [Matplotlib-users] Way to see data value in imaging an array?

2010-08-02 Thread David Goldsmith
On Sun, Aug 1, 2010 at 10:51 PM, David Goldsmith wrote: > Hi! Is there a way to see data values when imaging an array, say, e.g., > when holding the cursor over a point? > > DG > I found the data_browser.py example - how do I use it if I'm not using pylab.show, i.e

[Matplotlib-users] Way to see data value in imaging an array?

2010-08-01 Thread David Goldsmith
Hi! Is there a way to see data values when imaging an array, say, e.g., when holding the cursor over a point? DG -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++

Re: [Matplotlib-users] [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

2010-06-08 Thread David Goldsmith
On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke wrote: > > On 6/8/2010 10:39 AM, John Hunter wrote: > >> On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith >> wrote: >> >>> On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith >>> wrote: >>> >

Re: [Matplotlib-users] [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

2010-06-08 Thread David Goldsmith
On Tue, Jun 8, 2010 at 10:39 AM, John Hunter wrote: > On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith > wrote: > > On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith > > > wrote: > >> > >> - Forwarded message -- > >> From: SourceF

[Matplotlib-users] Fwd: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

2010-06-08 Thread David Goldsmith
(Comment added) made by jdh2358 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=560720&aid=2949906&group_id=80706 Category: None Group: None Status: Closed Resolution: Duplicate Priority: 5 Private: No Submitted By: David Goldsmith (olydlg) >Assigned

Re: [Matplotlib-users] [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

2010-06-08 Thread David Goldsmith
On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith wrote: > - Forwarded message -- > From: SourceForge.net > Date: Mon, Jun 7, 2010 at 6:06 AM > Subject: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises > ZeroDivisionError > To: nore...@source

Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-08 Thread David Goldsmith
--- On Fri, 3/5/10, David Goldsmith wrote: > --- On Fri, 3/5/10, Friedrich Romstedt > wrote: > > > NB: You lose at most 3 pixels at the border of your > image > > when drawing > > it the method you proposed, because the int floor'ing > will > > caus

Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt wrote: > >> d1 is a diagram_cl.Diagram instance, holding a > > > > Sorry for being dense, but where do I get diagram_cl? > > All you tried won't work, diagram_cl is not included with > matplotlib, > and as I think it never will.  Please clone or > download

Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt wrote: > Note, that this is private discussion now and no longer on > the list > (accidentally?).  If you want to put it back on the > list, please feel > free to do so. Yeah, my email client (yahoo!) showed your example submission email as being directly

Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-05 Thread David Goldsmith
(Pierre GM: are you subscribed to this list? If so, sorry for cc-ing you.) --- On Fri, 3/5/10, Friedrich Romstedt wrote: > From: Friedrich Romstedt > Subject: Re: [Matplotlib-users] Mysterious "ValueError: zero-size array..." > To: "David Goldsmith" > Date:

[Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising "ValueError: zero-size array to ufunc.reduce without identity." He

[Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising "ValueError: zero-size array to ufunc.reduce without identity." He

[Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising "ValueError: zero-size array to ufunc.reduce without identity." He

[Matplotlib-users] Mysterious "ValueError: zero-size array..."

2010-03-04 Thread David Goldsmith
Hi, folks! Let's see, first the tech stuff: Python version - 2.5.4; matplotlib version - 0.99.0; numpy version - 1.4.0; Platform: 32 bit Windows Vista Home Premium SP2. OK, now for the problem: imshow is (indirectly) raising "ValueError: zero-size array to ufunc.reduce without identity." He

Re: [Matplotlib-users] imshow size limitations?

2010-03-01 Thread David Goldsmith
--- On Sun, 2/28/10, David Goldsmith wrote: > > >> > Question 2) is there some way I can add > > pieces of the > > >> array incrementally to > > >> > the image into their proper place, > i.e., > > modify the > > >> follo

Re: [Matplotlib-users] imshow size limitations?

2010-02-28 Thread David Goldsmith
--- On Sun, 2/28/10, Ryan May wrote: > David Goldsmith > > wrote: > > --- On Sat, 2/27/10, Ryan May > wrote: > >> David Goldsmith > >> > >> wrote: > >> > Question 2) is there some way I can add > pieces of the > >>

Re: [Matplotlib-users] imshow size limitations?

2010-02-27 Thread David Goldsmith
ing 64 bit (i.e., OS, as well as 64 bit builds of Python, numpy, MPL, etc.), i.e., is it most likely a memory addressing problem? Question 5) can anyone suggest any other work-around(s)? Thanks! DG On Sat, Sep 6, 2008 at 4:00 PM, David Goldsmith wrote: > Ah, Ich verstehe now. I

[Matplotlib-users] How do I turn all ticks off?

2010-02-24 Thread David Goldsmith
Hi! Sorry for the really elementary Q's but I'm not having much luck searching the User Guide: How do I turn all ticks off (i.e., the labels and the tick mark lines, on both axes)? Thanks! DG -- Download Int

[Matplotlib-users] Looping through all the built-in colormaps

2010-02-23 Thread David Goldsmith
Hi! I'm trying to loop through all the built-in colormaps, applying each to an image before printing it to a file, then moving on to the next one. >>> from matplotlib import cm >>> for cmap in dir(cm): # cmap in cm doesn't work 'cause cm is a module >>>ax.imshow(image, cmap) >>>canvas.pr

[Matplotlib-users] How to control display precision and style (e.g., %f or %e) of axis tick labels?

2010-02-22 Thread David Goldsmith
I've searched and searched the online docs...please help. DG -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for

[Matplotlib-users] [SOT; Announce] Info about the API used in finance.quotes_historical_yahoo

2010-02-12 Thread David Goldsmith
Hi! Originally, this was to be a question about where to get that described in the subject, but I realized: "hey, it's a yahoo! service and I haven't searched yahoo! yet"; sure enough I easily found: http://www.gummy-stuff.org/Yahoo-data.htm Jackpot! All the free, detailed numerical stock dat

Re: [Matplotlib-users] canvas.print_figure printing a variable amount of my figure

2010-02-05 Thread David Goldsmith
On Mon, Oct 6, 2008 at 10:56 AM, Eric Firing wrote: > Christopher Barker wrote: > >> David Goldsmith wrote: >> >>> I feel like I must be missing something >>> >> >> yup -- though it's an understandable miss... >> > > I

Re: [Matplotlib-users] canvas.print_figure printing a variable amount of my figure

2008-10-06 Thread David Goldsmith
canvas.print_figure printing a variable > amount of my figure > To: "Christopher Barker" <[EMAIL PROTECTED]> > Cc: "David Goldsmith" <[EMAIL PROTECTED]>, > matplotlib-users@lists.sourceforge.net > Date: Monday, October 6, 2008, 11:56 AM > Christoph

Re: [Matplotlib-users] Multiple sub-plot goes off the top of the page

2008-10-04 Thread David Goldsmith
Peter: did John's solution fix your problem? DG - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize

[Matplotlib-users] Fw: canvas.print_figure printing a variable amount of my figure

2008-09-30 Thread David Goldsmith
I sent the below - with referenced attachments - about 24 hours ago and have yet to see it posted - was it blocked due to the attachments? DG --- On Mon, 9/29/08, David Goldsmith <[EMAIL PROTECTED]> wrote: > From: David Goldsmith <[EMAIL PROTECTED]> > Subject: canvas.print

Re: [Matplotlib-users] 'Inverting' a colormap (was "Next problem: pixel-to-pixel alpha variation")

2008-09-16 Thread David Goldsmith
To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Date: Tuesday, September 16, 2008, 12:46 PM > On Tue, Sep 16, 2008 at 2:40 PM, David Goldsmith > <[EMAIL PROTECTED]> wrote: > > --- On Tue, 9/9/08, David Goldsmith > <[EMAIL PROTECTED]> wrote: > > > &

[Matplotlib-users] 'Inverting' a colormap (was "Next problem: pixel-to-pixel alpha variation")

2008-09-16 Thread David Goldsmith
--- On Tue, 9/9/08, David Goldsmith <[EMAIL PROTECTED]> wrote: > eventually ... I'd like to do what John implies > is possible, i.e., "invert" a cm back to its RGB > table - John (or anyone) can you short-cut the learning > process for me w/ a code example

Re: [Matplotlib-users] Next problem: pixel-to-pixel alpha variation

2008-09-09 Thread David Goldsmith
triples, so how exactly are these remapped to an RGB array? Thanks! DG --- On Tue, 9/9/08, David Goldsmith <[EMAIL PROTECTED]> wrote: > From: David Goldsmith <[EMAIL PROTECTED]> > Subject: Re: [Matplotlib-users] Next problem: pixel-to-pixel alpha variation > To: matplotlib-users@l

Re: [Matplotlib-users] Next problem: pixel-to-pixel alpha variation

2008-09-09 Thread David Goldsmith
ists.sourceforge.net > Date: Tuesday, September 9, 2008, 7:22 AM > David Goldsmith wrote: > > Hi, folks. OK, I'm trying to set the alpha > channel, pixel by pixel, using figimage w/ the data being of > the "luminance" type (i.e., an MxN array). The > Users Guide

[Matplotlib-users] Next problem: pixel-to-pixel alpha variation

2008-09-08 Thread David Goldsmith
Hi, folks. OK, I'm trying to set the alpha channel, pixel by pixel, using figimage w/ the data being of the "luminance" type (i.e., an MxN array). The Users Guide indicates that figimage takes an alpha= keyword argument, and it doesn't crash when I pass an array for this value, but subsequentl

Re: [Matplotlib-users] imshow size limitations?

2008-09-06 Thread David Goldsmith
tlib-users] imshow size limitations? > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Date: Saturday, September 6, 2008, 3:13 PM > David Goldsmith wrote: > > Thanks, Eric! > > > > --- On Sat, 9/6/08, Eric Firing > <[EMAIL PROTECTED]> w

Re: [Matplotlib-users] imshow size limitations?

2008-09-06 Thread David Goldsmith
Thanks, Eric! --- On Sat, 9/6/08, Eric Firing <[EMAIL PROTECTED]> wrote: -- snip OP -- > It looks to me like you simply ran out of memory--this is > not an imshow > problem as such. Your array is about 1e8 elements, and as > floats that > would be close to a GB--just for that array alone. Do

Re: [Matplotlib-users] imshow size limitations?

2008-09-06 Thread David Goldsmith
Oh, forgot to mention: same code works fine on a smaller (fewer pixels) image. DG --- On Sat, 9/6/08, David Goldsmith <[EMAIL PROTECTED]> wrote: > From: David Goldsmith <[EMAIL PROTECTED]> > Subject: [Matplotlib-users] imshow size limitations? > To: matplotlib-users@lists.s

[Matplotlib-users] imshow size limitations?

2008-09-06 Thread David Goldsmith
Hi! I'm trying to display a 10800 x 8100 pixel image w/ imshow using the following code (adapted from a response to a previous post of mine): from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure fig = Figure(figsize=(36,27),

Re: [Matplotlib-users] matplotlib have "point in a polygon" test?

2008-06-26 Thread David Goldsmith
IL PROTECTED]> > Subject: Re: [Matplotlib-users] matplotlib have "point in a polygon" test? > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Date: Thursday, June 26, 2008, 8:46 PM > On 26-Jun-08, at 11:37 PM, David Goldsmith wrote: > > >

[Matplotlib-users] matplotlib have "point in a polygon" test?

2008-06-26 Thread David Goldsmith
Hi! Does matplotlib have already implemented a method to return true/false according as a provided point is inside a provided polygon? Thanks! DG - Check out the new SourceForge.net Marketplace. It's the best plac

Re: [Matplotlib-users] More Matlab-like way to manipulate colormaps?

2008-06-22 Thread David Goldsmith
tribute is not > intended for user > manipulation--but there is nothing to stop you from doing > it in a pinch > if necessary. > > Eric > > David Goldsmith wrote: > > Hi. Making progress. Caveat for what follows: the > last version of Matlab I used was like 6 or 7, I t

[Matplotlib-users] More Matlab-like way to manipulate colormaps?

2008-06-21 Thread David Goldsmith
Hi. Making progress. Caveat for what follows: the last version of Matlab I used was like 6 or 7, I think - it's been a little while - so for all I know, the colormap manipulation API I've been able to discover in the current MPL does correspond closely to the same thing in the current Matlab.

Re: [Matplotlib-users] Image plotting using the OO interface

2008-06-20 Thread David Goldsmith
forge.net > Date: Thursday, June 19, 2008, 3:58 AM > >>> David Goldsmith <[EMAIL PROTECTED]> > 06/19/08 9:39 AM >>> > Hi! I'm having trouble figuring out how to plot an > array as an image with the OO interface - please help > (e.

[Matplotlib-users] Image plotting using the OO interface

2008-06-19 Thread David Goldsmith
Hi! I'm having trouble figuring out how to plot an array as an image with the OO interface - please help (e.g., w/ an example). Thanks, DG - Check out the new SourceForge.net Marketplace. It's the best place to bu

Re: [Matplotlib-users] [Mac OS 10.4.10, Python 2.5] LineCollection error

2007-10-09 Thread David Goldsmith
> Hi! I have some code importing MPL and wxmpl; presently, I have > version 0.90.1 of the former installed and 1.2.8 of the latter. I > hadn't run this code in a while; when I last did, in the late spring > sometime, it worked fine. Now, when I do (from the command line), a > call in it to .

[Matplotlib-users] [Mac OS 10.4.10, Python 2.5] LineCollection error

2007-10-08 Thread David Goldsmith
Hi! I have some code importing MPL and wxmpl; presently, I have version 0.90.1 of the former installed and 1.2.8 of the latter. I hadn't run this code in a while; when I last did, in the late spring sometime, it worked fine. Now, when I do (from the command line), a call in it to .Axes.clear

Re: [Matplotlib-users] [Fwd: matplotlib 0.90.1 binary installer for Mac]

2007-06-06 Thread David Goldsmith
Thanks for doing this Russell; it installed, imported, and confirmed version fine on my Intel Mac (but I haven't actually had a chance to "use" it yet). DG [EMAIL PROTECTED] wrote: > David, > > Can you test this? > > -CHB > > > Original Message > Subject: [Matplotlib-users] ma

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread David Goldsmith
John Hunter wrote: >>>>>> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: >>>>>> > > David> Hi! OK, loc=(a,b) positions the legend, and appears to > David> place the lower left corner at (a,b) (axes co

[Matplotlib-users] Controling legend alignment

2006-10-29 Thread David Goldsmith
Hi! OK, loc=(a,b) positions the legend, and appears to place the lower left corner at (a,b) (axes coords.), right? Is there some way to say that (a,b) should specify the location of, say, the center of the legend? Thanks! DG --

[Matplotlib-users] Strange help behavior

2006-09-06 Thread David Goldsmith
Hi! (Background: I'm on a Mac G4 running OS 10.4.7, "Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin", matplotlib version 0.87.4. I'm trying to solve some x-axis tick labeling problems I'm having using plot_date; I'm toying with the example dat

[Matplotlib-users] [Mac OS 10.4.7, Python 2.4.3] Problem using plot_date

2006-08-22 Thread David Goldsmith
First, sorry for the long email. I'm having a segmentation fault problem trying to use plot_date, somewhere deep in matplotlib. After giving up trying to figure out what was going wrong from within my "real" code, I wrote a "minimal" sample to try to reproduce (or not) the problem; here it is: