Hi:
I just installed matplolib from source code, and Ipython using pip, in
Ubuntu 11.10.
When I run this code
### foo.py
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
##
in ipython, I get the following
On Sun, Nov 13, 2011 at 4:37 PM, klo uo wrote:
> I think that paths needed to be passed to CPP/LDFLAGS like this:
>
> CPPFLAGS=-I/usr/include/hdf LDFLAGS=-L/usr/lib ./configure --enable-hdf4
> && make
>
> then also package is dependent on latest hdf5 to be build (1.8.7), so
> installing it global
It's not "official", but just idiomatic, I suppose ;)
http://en.wikipedia.org/wiki/Monkey_patch
http://paulirish.com/2010/duck-punching-with-jquery/
>
> Is that an official term? I have done things like this before, but never had
> a word for it.
>
> Ben Root
>
--
Daniel Hyams
dhy...@gmail.
I think that paths needed to be passed to CPP/LDFLAGS like this:
CPPFLAGS=-I/usr/include/hdf LDFLAGS=-L/usr/lib ./configure --enable-hdf4 && make
then also package is dependent on latest hdf5 to be build (1.8.7), so
installing it globally would break possible dependencies in any
packaging system,
2011/11/12 Friedrich Romstedt :
> $ stat -f "" /Library/Fonts/NISC18030.ttf
> Last accessed or modified: 1321107464 = 12 Nov 2011
> Last changed: 1264652963 = 28 Jan 2010
> Time of Birth: 1292365840 = 14 Dec 2010
The file might have been created earlier; the date 14 Dec 2010 is the
day where I
On Sunday, November 13, 2011, Daniel Hyams wrote:
>>
>> OK, types is a new part of the Python library for me, I'll have to go
>> learn about it. It looks like you basically just subclassed the
>> QuadContourSet object through a back door, by giving it the missing
>> method.
>
> It's not a subclas
>
> OK, types is a new part of the Python library for me, I'll have to go
> learn about it. It looks like you basically just subclassed the
> QuadContourSet object through a back door, by giving it the missing
> method.
It's not a subclass, it's just a "monkey patch". I personally like
"duck pun
On Sun, 2011-11-13 at 13:26 -0500, Daniel Hyams wrote:
> Oops; my sentence should have read "is *not* derived from an artist".
Yes, I was wondering about that. I was actually looking though the
artist.py and contour.py source code when your message came in.
On Sunday, November 13, 2011, Daniel
On Sun, Nov 13, 2011 at 12:57 PM, Jeff Whitaker wrote:
>
> Gökhan: netcdf4-python can read hdf5-eos files, and even hdf4-eos files
> if the netcdf C lib is built with hdf4 support.
>
> -Jeff
>
I can't build netcdf4 C libraries with HDF4 support.
[gsever@ccn hdf-4.2.6]$ ./configure --prefix=/usr
On 11/13/11 12:40 PM, Gökhan Sever wrote:
Hello groups,
I have two questions about working with MODIS data.
1-) Is there any light Pythonic HDF-EOS wrapper to handle HDF-EOS data
other than PyNIO [http://www.pyngl.ucar.edu/Nio.shtml] Although, I
have managed to install that package from its s
Hello groups,
I have two questions about working with MODIS data.
1-) Is there any light Pythonic HDF-EOS wrapper to handle HDF-EOS data
other than PyNIO [http://www.pyngl.ucar.edu/Nio.shtml] Although, I have
managed to install that package from its source, it took me many hours to
figure out all
Greetings.
I am interested in accessing Triangulation objections that are created by
MPL for tricontour-type plots. The docs for MPL routines that use
triangulation objects refer to documentation, but none exists in the MPL
online docs. Does anyone have docs/info on using these objects? Having
Sorry for the very slow reponse time; it's a busy time of the year.
Anyway, I've narrowed the problem quite a bit.
Here is the kind of situation that causes the issue:
import matplotlib.pyplot as plt
plt.ion()
f1=plt.figure()
a1=f1.add_subplot(111)
f2=plt.figure()
a2=f2.add_subplot(111)
a1.plo
Oops; my sentence should have read "is *not* derived from an artist".
On Sun, Nov 13, 2011 at 1:24 PM, Benjamin Root wrote:
>
>
> On Sunday, November 13, 2011, Daniel Hyams wrote:
>> This looks like a bug in matplotlib to me; I get the same thing.
>>
>> The basic issue is that QuadContourSet is
On Sunday, November 13, 2011, Daniel Hyams wrote:
> This looks like a bug in matplotlib to me; I get the same thing.
>
> The basic issue is that QuadContourSet is derived from an artist, and
> so does not have all of the artist methods; the animation framework
> depends on the things that it is an
This looks like a bug in matplotlib to me; I get the same thing.
The basic issue is that QuadContourSet is derived from an artist, and
so does not have all of the artist methods; the animation framework
depends on the things that it is animating being artists.
The following monkey patch fixes it
On 11/13/2011 8:38 AM, Rahul Mahajan wrote:
> Hi,
>
> Is there such a thing "Python / Matplotlib Central Exchange" similar to
> the "File Exchange on Matlab Central" (
> http://www.mathworks.com/matlabcentral/fileexchange/ ) that anyone is
> aware of which allows one to search for user-contribut
In my last post I said that upgrading Numpy to 1.6.1 restored function
to Matplotlib 1.1.0. Well, I spoke a bit too soon. Static contour
plots appear to work fine, but they don't play nicely with the new
animation methods.
This animation example runs without errors.
http://matplotlib.sourceforg
Hi,
Is there such a thing "Python / Matplotlib Central Exchange" similar to the
"File Exchange on Matlab Central" (
http://www.mathworks.com/matlabcentral/fileexchange/ ) that anyone is
aware of which allows one to search for user-contributed functions /
packages.
Many Thanks!
--
Just to follow up:
I can now report that removing numpy 1.3.0 and installing 1.6.1
corrected the problems with image and contour plots in my configuration.
Thanks to everyone for their input.
--
RSA(R) Conference 2012
Hi Ben and John,
> The doc page is wrong. There was suspicions of this recently with
> nextafter(), but no one knew when it was introduced in numpy. Now we know
> and I will update the page accordingly.
I ran into the same problem recently and discovered that nextafter() was
introduced in numpy
I meant to send this to the list yesterday, but I just noticed I sent it
only to Ben. For completeness, here it is...
-- Forwarded message --
From: Warren Weckesser
Date: Sat, Nov 12, 2011 at 8:45 PM
Subject: Re: [Matplotlib-users] Upgraded to 1.1.0, now only line graphs
work!
T
2011/11/7 Anton Daitche :
> Do you remember the name of the thread? I would like to understand the
> details on this.
I can't find it right now but I guess Michael's answer helps you.
> I also would like to find out if i can force the renderer to do exact
> drawing (at some computational cost).
2011/11/12 Friedrich Romstedt :
> This is my summary of what I found out.
Some small follow-up regarding what might trigger the bug:
http://comments.gmane.org/gmane.comp.python.matplotlib.general/1115 is
a report by Chris Barker indicating as a side-effect that
NISC18030.ttf was present even in 2
24 matches
Mail list logo