[Matplotlib-users] basemap border coordintes

2010-08-22 Thread Janwillem
I want to write a script that can check whether a given coordinate is within a given country I now have: import matplotlib.nxutils as nx test = nx.points_inside_poly(points, country) where country is a polygon of longitude latitude pairs and points is a number of coordinates to be tested. This

Re: [Matplotlib-users] basemap border coordintes

2010-08-22 Thread Jeff Whitaker
On 8/22/10 3:14 AM, Janwillem wrote: I want to write a script that can check whether a given coordinate is within a given country I now have: import matplotlib.nxutils as nx test = nx.points_inside_poly(points, country) where country is a polygon of longitude latitude pairs and points is a

Re: [Matplotlib-users] Issue with hist plotting

2010-08-22 Thread Daπid
On Sat, Aug 14, 2010 at 10:19 PM, Eric Firing efir...@hawaii.edu wrote: The problem is that the alpha kwarg can never be other than a scalar in mpl at present, as far as I know.  The error message from to_rgba was intended to be informative, but in this case it is misleading. Thanks for your

Re: [Matplotlib-users] Issue with hist plotting

2010-08-22 Thread Eric Firing
On 08/22/2010 04:51 AM, Daπid wrote: On Sat, Aug 14, 2010 at 10:19 PM, Eric Firingefir...@hawaii.edu wrote: The problem is that the alpha kwarg can never be other than a scalar in mpl at present, as far as I know. The error message from to_rgba was intended to be informative, but in this

[Matplotlib-users] Mapping fonts properly

2010-08-22 Thread Daniel Hyams
I am searching for advice on how to handle selecting a specific font, and using that in a matplotlib figure. As a background, the font will be picked through the wx.FontDialog (common font dialog) provided by wxPython. So, what I will have is the font face (Arial, Times New Roman, Algerian, etc.