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 d.l.goldsm...@gmail.com 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

[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

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 d.l.goldsm...@gmail.comwrote: 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., I'm using

[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-09 Thread David Goldsmith
On Tue, Jun 8, 2010 at 10:39 AM, John Hunter jdh2...@gmail.com wrote: On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: - Forwarded message -- From

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

2010-06-09 Thread David Goldsmith
On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke cgoh...@uci.edu wrote: On 6/8/2010 10:39 AM, John Hunter wrote: On Tue, Jun 8, 2010 at 11:53 AM, David Goldsmith d.l.goldsm...@gmail.com wrote: On Tue, Jun 8, 2010 at 9:52 AM, David Goldsmithd.l.goldsm...@gmail.com 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 9:52 AM, David Goldsmith d.l.goldsm...@gmail.comwrote: - Forwarded message -- From: SourceForge.net nore...@sourceforge.net Date: Mon, Jun 7, 2010 at 6:06 AM Subject: [ matplotlib-Bugs-2949906 ] finance.quotes_historical_yahoo raises ZeroDivisionError

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

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

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

2010-03-08 Thread David Goldsmith
--- On Fri, 3/5/10, David Goldsmith d_l_goldsm...@yahoo.com wrote: --- On Fri, 3/5/10, Friedrich Romstedt friedrichromst...@gmail.com 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 cause

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

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt friedrichromst...@gmail.com 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

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

2010-03-06 Thread David Goldsmith
--- On Sat, 3/6/10, Friedrich Romstedt friedrichromst...@gmail.com 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

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 friedrichromst...@gmail.com wrote: From: Friedrich Romstedt friedrichromst...@gmail.com Subject: Re: [Matplotlib-users] Mysterious ValueError: zero-size array... To: David

[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.

[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.

[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.

[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.

Re: [Matplotlib-users] imshow size limitations?

2010-03-01 Thread David Goldsmith
--- On Sun, 2/28/10, David Goldsmith d_l_goldsm...@yahoo.com 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 following code:     ax.imshow(image[0:ny/2+1, 0:nx/2+1]) # upper

Re: [Matplotlib-users] imshow size limitations?

2010-02-28 Thread David Goldsmith
--- On Sun, 2/28/10, Ryan May rma...@gmail.com wrote: David Goldsmith d_l_goldsm...@yahoo.com wrote: --- On Sat, 2/27/10, Ryan May rma...@gmail.com wrote: David Goldsmith d_l_goldsm...@yahoo.com wrote: Question 2) is there some way I can add pieces of the array incrementally

Re: [Matplotlib-users] imshow size limitations?

2010-02-27 Thread David Goldsmith
, 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 d_l_goldsm...@yahoo.comwrote: Ah, Ich verstehe now. I'll try RGBA

[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

[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)

[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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune

[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 data

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 efir...@hawaii.edu wrote: Christopher Barker wrote: David Goldsmith wrote: I feel like I must be missing something yup -- though it's an understandable miss... I think the longstanding separation between the figure.dpi and the savefig.dpi

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

2008-10-06 Thread David Goldsmith
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 Christopher Barker wrote: David Goldsmith wrote: I feel like I must be missing something yup

[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 of how to do this? :-) Thanks! DG No one

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.sourceforge.net Date

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 you

Re: [Matplotlib-users] imshow size limitations?

2008-09-06 Thread David Goldsmith
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] wrote: -- snip OP -- It looks to me like you simply ran out of memory

[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

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

2008-06-26 Thread David Goldsmith
] 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: Hi! Does matplotlib have already implemented a method to return

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

2008-06-22 Thread David Goldsmith
and its dimensions are (N+3)x4. You might want to manipulate only the [:N,:3] subarray of it. The leading underscore means this attribute 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

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

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] matplotlib

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 coords.), right? yes David Is there some way to say that (a,b) should specify

[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

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

2006-08-23 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: