> It looks like you found a pretty significant bug -- the Artist.pick
> method forwards the event to all of it's children, whether or not the
> pick event happened in the same Axes as the event being queried. Not
> only is this inefficient, it can create false positives when the two
> axes share
Hi,
I can confirm the crash of python.exe when saving PNG files using
matplotlib 0.98.5.3 under Python 2.5.4 and 2.6.2 (32 bit binaries from
python.org) on Windows Vista 64 bit. Saving to a PDF file works. The
crash occurs in _png.write_png(). When replacing the file _png.pyd with
version 0.98
> On Mon, May 25, 2009 at 12:35 PM, Alan G Isaac wrote:
>> What is the "right" way to produce date-range bars,
>> like the recession bars in
>> http://research.stlouisfed.org/fred2/series/TB3MS?cid=116
On 5/25/2009 1:45 PM John Hunter apparently wrote:
> axvspan. See
>
>
> http://matplotli
Thank you very much for your email.
Your example
>imshow(rand(10,10)*8, vmin=0, vmax=8)
>colorbar(ticks=[0,2,4,6,8])
works fine.
>Note also that to get the sequence [0,2,4,6,8] you need arange(0,9,2),
>not arange(0,8,2). Or you can use linspace(0,8,5) if you prefer.
Thank you for making me awa
marcusantonius wrote:
> I should perhaps mention, that if i try
> cbar=fig.colorbar(p1,orientation='horizontal',ticks=[0.0,2.0,4.0,6.0,8.0])
The ticks that it uses are taken from the list--they are the ones that
are within the range of numbers mapped to colors. The list of ticks
does not set th
marcusantonius wrote:
> Hello,
>
> I have the problem, that sometimes the first and last ticklabel of a
> colorbar is not drawn. E.g. if I create a colorbar through
> fig.colorbar(p3,orientation='horizontal',ticks=np.arange(0.0,8,2))
> I only get ticklabels at 2,4,6, but I would like it to have 0,
I should perhaps mention, that if i try
cbar=fig.colorbar(p1,orientation='horizontal',ticks=[0.0,2.0,4.0,6.0,8.0])
cbar.ax.set_xticklabels(['0', '2', '4','6','8'])
the colorbar is drawn correctly, but I get the label 0 at position 2, the
label 2 at position 4 and 4 at pos. 6, the labels at the end
Hello,
I have the problem, that sometimes the first and last ticklabel of a
colorbar is not drawn. E.g. if I create a colorbar through
fig.colorbar(p3,orientation='horizontal',ticks=np.arange(0.0,8,2))
I only get ticklabels at 2,4,6, but I would like it to have 0,2,4,6,8 and I
don't know how to c
Hi again,
John Hunter wrote:
>
> One thing I just noticed -- you call show before savefig. show is
> supposed to be the last line in your script, and should only be called
> once. Does moving it to the end help?
No, that's just an artifact of my trying a number of things :-)
for the pdf file
On Mon, May 25, 2009 at 1:01 PM, Esmail wrote:
> Hello John,
>
> \John Hunter wrote:
>> On Mon, May 25, 2009 at 12:32 PM, Esmail wrote:
>>> Hi all,
>>>
>>> I'm new to pylab/matplotlib, so perhaps I am making a mistake here,
>>> but when I try to save a plot under Windows as a png file, the progra
Hello John,
\John Hunter wrote:
> On Mon, May 25, 2009 at 12:32 PM, Esmail wrote:
>> Hi all,
>>
>> I'm new to pylab/matplotlib, so perhaps I am making a mistake here,
>> but when I try to save a plot under Windows as a png file, the program
>> crashes (pdf works fine).
>>
>
> I don't have a wind
On Mon, May 25, 2009 at 12:32 PM, Esmail wrote:
> Hi all,
>
> I'm new to pylab/matplotlib, so perhaps I am making a mistake here,
> but when I try to save a plot under Windows as a png file, the program
> crashes (pdf works fine).
>
I don't have a windows box to test on today (I can try tomorrow
On Mon, May 25, 2009 at 12:35 PM, Alan G Isaac wrote:
> What is the "right" way to produce date-range bars,
> like the recession bars in
> http://research.stlouisfed.org/fred2/series/TB3MS?cid=116
axvspan. See
http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.axvspan
On Mon, May 25, 2009 at 7:16 AM, wrote:
>
>
> Hi,
> I am trying to use matplotlib to visually explore some data. I started
> from the "event_handling example code: data_browser.py" example, but
> wanted to go a bit further. The idea is to have two plots and an image
> linked together. The first p
What is the "right" way to produce date-range bars,
like the recession bars in
http://research.stlouisfed.org/fred2/series/TB3MS?cid=116
Thanks,
Alan Isaac
--
Register Now for Creativity and Technology (CaT), June 3rd, NY
Hi all,
I'm new to pylab/matplotlib, so perhaps I am making a mistake here,
but when I try to save a plot under Windows as a png file, the program
crashes (pdf works fine).
This is the short script I am running:
-
import pylab as plt
plt.grid(True)
# plot a point
x = 1.5
y = 0.7
p
Jean-Christophe Penalva wrote:
> Hello,
>
> i draw some rectangle (with PolyCollection) on one figure. I'd like to put
> around (on the right vertical, or at the bottom horizontal) a colormap
> with the
> min and max values (as in
> http://matplotlib.sourceforge.net/examples/pylab_examples/c
On Mon, May 25, 2009 at 9:02 AM, collern2 wrote:
>
> I'm trying to have the points start from the x-axis (similar to a histogram)
> and draw lines upwards. I've attached an image of the program output, as you
> can see - there are no red lines from 0-200 on the y-axis. Any ideas how to
> start the
Hello,
i draw some rectangle (with PolyCollection) on one figure. I'd like to
put
around (on the right vertical, or at the bottom horizontal) a colormap with
the
min and max values (as
in
http://matplotlib.sourceforge.net/examples/pylab_examples/colorbar_tick_labelling_d
I'm trying to have the points start from the x-axis (similar to a histogram)
and draw lines upwards. I've attached an image of the program output, as you
can see - there are no red lines from 0-200 on the y-axis. Any ideas how to
start them from zero?
http://www.nabble.com/file/p23707480/image.pn
Hi,
I am trying to use matplotlib to visually explore some data. I started
from the "event_handling example code: data_browser.py" example, but
wanted to go a bit further. The idea is to have two plots and an image
linked together. The first plot represents a measure calculated from
an image regi
Forgot to cc the list.JRC
John R. Cary wrote:
> John Hunter wrote:
>> On Sun, May 24, 2009 at 11:18 AM, John R. Cary wrote:
>>
>>> $ python setup.py install --prefix=/d/facets/contrib
>>>
>>>
>>>
>>> BUILDING MAT
On Mon, May 25, 2009 at 1:03 AM, Robert Cimrman wrote:
> Ondrej Certik wrote:
>>
>> On Fri, May 22, 2009 at 3:37 PM, Ondrej Certik wrote:
>>>
>>> Thanks a lot John. I tried that and it does what I want. I just need
>>> to convert and probably average my 3 different values at the 3
>>> vertices of
Ondrej Certik wrote:
> On Fri, May 22, 2009 at 3:37 PM, Ondrej Certik wrote:
>> Thanks a lot John. I tried that and it does what I want. I just need
>> to convert and probably average my 3 different values at the 3
>> vertices of the triangle and color the triangle with that color. When
>> I get i
On Tue, 2009-05-19 at 10:50 +0200, Thomas Pfaff wrote:
> Hello there,
>
> when I started with matplotlib I was really enthusiastic that I can throw
> all those Excel, IDL, Matlab and whatever else I used until now overboard
> and do everything from data processing to visualization in beloved Pytho
25 matches
Mail list logo