Re: [Matplotlib-users] plot_date() runtime error

2012-01-26 Thread Paul Ivanov
Hi Shankar, Shankararaman Ramakrishnan, on 2012-01-26 18:24, wrote: > I have been trying to leverage plot_date() to generate time trends. I > seem to run into the following runtime error and don't have much > insight as to why this is happening. Specifically, I don't quite see why > the function

[Matplotlib-users] plot_date() runtime error

2012-01-26 Thread Shankararaman Ramakrishnan
Hi, I have been trying to leverage plot_date() to generate time trends. I seem to run into the following runtime error and don't have much insight as to why this is happening. Specifically, I don't quite see why the function is attempting to set the lower bound to 0001-01-01 UTC when my x-axis

[Matplotlib-users] Spline in Path

2012-01-26 Thread fabio.lima
Dear users Matplotlib I am new to Matplotlib and would like to know how the code below I can set the command to plot the spline instead of straight lines. # -- Plot the reaction path import pylab as p fig = p.figure(1) sp = p.subplot(1,1,1) p.plot(range(len(Epath)), Epath, 's-') for idx, (E

Re: [Matplotlib-users] Events

2012-01-26 Thread Benjamin Root
On Thu, Jan 26, 2012 at 3:24 PM, Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > Does anybody know how to generate and process my "private" events? I can > subclass the Event() class, say, MyEvent, > with a name "my_event", and I can - >canvas.mpl_connect('my_event', aCallback) >

[Matplotlib-users] Events

2012-01-26 Thread Jerzy Karczmarczuk
Does anybody know how to generate and process my "private" events? I can subclass the Event() class, say, MyEvent, with a name "my_event", and I can - canvas.mpl_connect('my_event', aCallback) but then, how to fire one? (I don't want to call the callback directly). Suppose that the interfac

[Matplotlib-users] Hardware rendering with tricontourf

2012-01-26 Thread Howard
Hi all I'm rendering some images with about 3.5 million triangles into a 512x512 png file using tricontourf. I'm running this in a virtual machine, and I'm pretty sure that there is no graphics rendering hardware being used. Is it possible, assuming the hardware was available, to make tricont

Re: [Matplotlib-users] Using Proxy Artist to make legend

2012-01-26 Thread Tony Yu
On Thu, Jan 26, 2012 at 8:20 AM, Sabine van der Linden wrote: > Hello, > > I have made a plot with a fill_between part, which does not show up in the > legend. I have read that I have to use a proxy artist for this, but I have > no > clue where to place this, and how.. The fill between works fine,

[Matplotlib-users] Using Proxy Artist to make legend

2012-01-26 Thread Sabine van der Linden
Hello, I have made a plot with a fill_between part, which does not show up in the legend. I have read that I have to use a proxy artist for this, but I have no clue where to place this, and how.. The fill between works fine, it's just the legend that is not really cooperating ;) import matplotl