Hi,
In a part of my code I use
thisline = CL.CustomLine([x1, x2], [y1, y2], color='black', linestyle='--',
picker=2, zorder=20, id=lbl)
self.ax.add_line(thisline)
if (cfg.linedraw_label):
self.ax.text(x2, y2, lbl, fontname='Sans', fontsize=9, picker=2,
zorder=20)
In another part
Mike,
Thanks for the help. It worked. I have another question but I will send it
as a new thread.
Nihat
On Mon, Jun 30, 2008 at 12:02 PM, Michael Droettboom <[EMAIL PROTECTED]>
wrote:
>
>
> Tony S Yu wrote:
>
>>
>> On Jun 30, 2008, at 11:13 AM, Michael Droettboom wrote:
>>
>>> transScale is w
On Wed, Jul 2, 2008 at 2:53 PM, Brent Pedersen <[EMAIL PROTECTED]> wrote:
> hi, for pylab.plot, i am able to get the transform like this:
>
>import pylab
>xs = [0, 999]
>ys = [10, 555]
>
>f, = pylab.plot(xs, ys)
>t = f.get_transform()
>print t.transform(zip(xs, ys))
>
>
> ho
hi, for pylab.plot, i am able to get the transform like this:
import pylab
xs = [0, 999]
ys = [10, 555]
f, = pylab.plot(xs, ys)
t = f.get_transform()
print t.transform(zip(xs, ys))
how can i do that for a pylab.scatter? this:
s = pylab.scatter(xs, ys)
print s.ge
I've written the start of a Cocoa-native backend for matplotlib and
would like to submit feedback on the code and on the possibility of
including it in the standard matplotlib distribution. The backend
implementation is not complete (image rendering and mathtext rendering
are currently no implement
On Wed, Jul 2, 2008 at 3:20 PM, laurent oget <[EMAIL PROTECTED]> wrote:
> I use the Pdf backend. I did do some digging in the GC module but have not
> found anything yet
Please keep all replies on list so others can contribute to the
discussion and future generations of googlers can benefit from i
On Wed, Jul 2, 2008 at 2:56 PM, laurent oget <[EMAIL PROTECTED]> wrote:
> I am using matplotlib to produce a big number(16000) of charts and am facing
> a steady memory leak. my code sofar looks like:
>
> while(1):
> fig=PL.figure(1)
> ..plot some things..
> fig.clf()
> PL.close()
>
Trying to set the interpolation method for a NonUniformImage object I
receive the following error:
>>> im.set_interpolation('bilinear')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.5/site-packages/matplotlib/image.py", line 396,
in set_interpolation
rai
I am using matplotlib to produce a big number(16000) of charts and am facing
a steady memory leak. my code sofar looks like:
while(1):
fig=PL.figure(1)
..plot some things..
fig.clf()
PL.close()
am i missing something?
Laurent
-
Hi Gideon,
On Wednesday 02 July 2008 11:34:46 am Gideon Simpson wrote:
> So no one else has seen this bug? I'm on an OS X 10.5.4 machine with
> fink python 2.5.2 and associated backend packages. i'm using my own
> builds of numpy/scipy and matplotlib.
> -gideon
(Please don't top post, it makes
Yeah, it looks like this is a real bug (that only affects the 0.91.x
maintenance branch). LineCollection seemingly had get_lines() at one
point but it disappeared.
I have committed a fix to SVN and attached a patch against legend.py.
Cheers,
Mike
Yannick Copin wrote:
Hi,
I thought this At
So no one else has seen this bug? I'm on an OS X 10.5.4 machine with
fink python 2.5.2 and associated backend packages. i'm using my own
builds of numpy/scipy and matplotlib.
-gideon
On Jul 1, 2008, at 11:16 AM, Gideon Simpson wrote:
> matplotlib itself seems to work, in the sense that it m
Hi,
I thought this AttributeError when using legend was solved a long time ago
(see http://article.gmane.org/gmane.comp.python.matplotlib.general/10306) but
I still face it in matplotlib 0.91.3, released 4 weeks ago (and this does not
seem to have changed in recent version of collections.py).
Hi,
I am new to matplotlib and just installed it in my home directory as
an egg along with numpy and pytz on Solaris 10. Building matplotlib
using setupegg.py bdist_egg worked out just fine. But when I am
trying to run the simple_plot.py example or do an interactive plot([1,
2, 3]); show(), all I
Hello John,
I'm not sure there is a better way, but the following works for me:
--
from pylab import *
fig = figure()
# adding some subplots / axes instances
subplot(121)
x = linspace(-0.5, 1.5, 10)
plot(x, 0.5*x
15 matches
Mail list logo