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-09 Thread Christoph Gohlke
On 6/8/2010 11:10 PM, David Goldsmith wrote: On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke cgoh...@uci.edu mailto: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

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

2010-06-09 Thread Christoph Gohlke
On 6/8/2010 11:25 PM, David Goldsmith wrote: On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke cgoh...@uci.edu mailto: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

Re: [Matplotlib-users] patch: adding kwargs 'which' in axes.grid and 'g' toggles all tick grid lines

2010-06-09 Thread Matthias Michler
On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote: Hello list, Hello developers, I'd like to summarize my discussion with Gökhan (Turning off minor grids on log scaled plot) in the last days and propose two patches. The first patch adds the keyword argument 'which' from the

Re: [Matplotlib-users] patch: adding kwargs 'which' in axes.grid and 'g' toggles all tick grid lines

2010-06-09 Thread Eric Firing
On 06/08/2010 10:48 PM, Matthias Michler wrote: On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote: Hello list, Hello developers, I'd like to summarize my discussion with Gökhan (Turning off minor grids on log scaled plot) in the last days and propose two patches. The first patch

Re: [Matplotlib-users] patch: adding kwargs 'which' in axes.grid and 'g' toggles all tick grid lines

2010-06-09 Thread Matthias Michler
On Wednesday, June 09, 2010 11:00:31 am Eric Firing wrote: On 06/08/2010 10:48 PM, Matthias Michler wrote: On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote: Hello list, Hello developers, I'd like to summarize my discussion with Gökhan (Turning off minor grids on log scaled

Re: [Matplotlib-users] Index Out of Range Error after Installationon RHEL5

2010-06-09 Thread Dharhas Pothina
For some reason, installing inside a virtualenv was the problem. I installed it using easy_install outside of the virtualenv and it worked fine. The virtualenv setup works on the other RHEL5 machine so I'm not sure why it didn't on this one. thanks, - dharhas Benjamin Root ben.r...@ou.edu

[Matplotlib-users] Where is transform.xy_tup?

2010-06-09 Thread Jon Olav Vik
I'm trying to make a big plot with smaller insets. I would like to specify the new axis rectangle in terms of data coordinates from the original plot. This page mentions an .xy_tup() method of Transform objects: http://www.scipy.org/Cookbook/Matplotlib/Transformations?highlight=%28xy_tup%29

Re: [Matplotlib-users] Where is transform.xy_tup?

2010-06-09 Thread John Hunter
On Wed, Jun 9, 2010 at 9:05 AM, Jon Olav Vik jono...@gmail.com wrote: I'm trying to make a big plot with smaller insets. I would like to specify the new axis rectangle in terms of data coordinates from the original plot. This page mentions an .xy_tup() method of Transform objects:

[Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Robert Sudwarts
Hi, I've installed matplotlib in a virtual environment but am having a problem with generating a plot. I've tried to run a simple_plot.py both as a script and from within the ipython/python shell. I've changed the backend in

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

2010-06-09 Thread Christoph Gohlke
On 6/9/2010 8:50 AM, David Goldsmith wrote: On Wed, Jun 9, 2010 at 12:18 AM, Christoph Gohlke cgoh...@uci.edu mailto:cgoh...@uci.edu wrote: On 6/8/2010 11:25 PM, David Goldsmith wrote: On Tue, Jun 8, 2010 at 11:21 AM, Christoph Gohlke cgoh...@uci.edu

Re: [Matplotlib-users] Question?

2010-06-09 Thread Alan G Isaac
On 6/9/2010 9:12 AM, Waléria Antunes David wrote: Is there a way to plot my functions in the graph so that one can to visualize the difference between them. Did you try the example I posted? Why is it not adequate? Alan Isaac

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Michael Droettboom
On 06/09/2010 10:47 AM, Robert Sudwarts wrote: Hi, I've installed matplotlib in a virtual environment but am having a problem with generating a plot. I've tried to run a simple_plot.py both as a script and from within the ipython/python shell. I've changed the backend in

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Benjamin Root
I don't know if this is the same issue that I had once, but I will just throw it out there. Once I compiled matplotlib myself before double-checking that I had all the needed development files and so the build process didn't produce all the files for tkagg and used GTKAgg instead. I had to get

Re: [Matplotlib-users] patch: adding kwargs 'which' in axes.grid and 'g' toggles all tick grid lines

2010-06-09 Thread Eric Firing
On 06/08/2010 11:07 PM, Matthias Michler wrote: On Wednesday, June 09, 2010 11:00:31 am Eric Firing wrote: On 06/08/2010 10:48 PM, Matthias Michler wrote: On Friday, April 23, 2010 11:08:50 am Matthias Michler wrote: Hello list, Hello developers, I'd like to summarize my discussion with

Re: [Matplotlib-users] virtualenv installation: ImportError: No module named _tkagg

2010-06-09 Thread Robert Sudwarts
Thanks to both of you for your replies. I should have included the info that I've tried to build matplotlib using virtualenv with the --no-site-packages option. ... And in the meantime, I have an existing (and working) build, courtesy of the Ubuntu package manager. Seeing as the package manager

Re: [Matplotlib-users] Question?

2010-06-09 Thread Waléria Antunes David
On 6/9/2010 9:12 AM, Wal?ria Antunes David wrote: Is there a way to plot my functions in the graph so that one can to visualize the difference between them. Did you try the example I posted? Why is it not adequate? Alan Isaac Hello, Alan Isaac, Sure, i tried your example, but really i

Re: [Matplotlib-users] Re moving white space surrounding plots

2010-06-09 Thread Jae-Joon Lee
What version of matplotlib are you using? With 0.99.1.1 (and likely later) and also with the svn version, using the bbox_inches=tight actually produces an output with too small margin. With the svn version, following code should generate an output with an adequate margin. Otherwise, you cannot

[Matplotlib-users] matplotlib and large array

2010-06-09 Thread Massimo Di Stefano
Hi All, i need to work with a relative large images 60 mb (single band geotiff file) i store it in python as a numpy array using python-gdal, the array dinension is (7173 X 7924) single band image, but tring to display it with matshow/imageshow or other matplotlib functions i have that python

Re: [Matplotlib-users] ploting with QT4

2010-06-09 Thread Vladimir Rodriguez
On Miércoles 09 Junio 2010 3:28:57 PM usted escribió: Hi Vladimir, On Sun, Jun 6, 2010 at 4:04 PM, Vladimir Rodriguez vladimir.rodrig...@reduc.edu.cu wrote: I am a new user and I need to make a GUI with QT4 in which you can plot, just like using Matlab's GUIDE. Someone can send me a

Re: [Matplotlib-users] matplotlib and large array

2010-06-09 Thread Joe Kington
One workaround is to try converting it to a PIL image first. For whatever reason, imshow chokes on large arrays, but handles PIL images of the same array just fine. However, you'll need to set the colormap and such through PIL, which can be a bit frustrating if you're unfamiliar with it. Also,

[Matplotlib-users] Placing images on figures

2010-06-09 Thread Eamon Caddigan
Hi everybody, I'd like to draw thumbnails of images on various plots, e.g., a bar chart with a picture placed at the base of the bar, or a scatter plot with photos next to select points. Reading and resizing the image aren't an issue. However, I've been searching all day, and I can't figure out