Re: [Matplotlib-users] zoomed copy of axis for grid of subplots

2011-01-30 Thread Jae-Joon Lee
Here is the axes_grid1 version. I only attach the *axins* part. It is not identical to your original example and have difference scales. -JJ ax1 = ax[ybins-1,1] from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes, \ mark_inset axins = zoomed_inset_axes(parent_axes=ax1, zoom

[Matplotlib-users] [basemap] ValueError: 'hammer' is an unsupported projection.

2011-01-30 Thread Peter Smale
Hi, I am using Basemap 1.0 and matplotlib 1.0 on Ubuntu 10.10. I would like to use the Hammer projection from the Basemap toolkit but when I use m = Basemap(resolution='c',projection='hammer',lon_0=180) I get an error (shown below). Does anyone know where the Hammer has gone? Thanks, Peter

Re: [Matplotlib-users] zoomed copy of axis for grid of subplots

2011-01-30 Thread Benjamin Root
On Monday, January 24, 2011, johanngoetz wrote: > > Hello, > A common task I have is to histogram one variable of a multidimensional > dataset as a function of two (or more) variables. I have attached an example > which shows exactly what I would like to do. > > The problem I would like to solve i

Re: [Matplotlib-users] Suggestions for auto scaling fonts , etc for producing images at various scales

2011-01-30 Thread Benjamin Root
On Tuesday, January 25, 2011, Daryl Herzmann wrote: > Hi Paul, > > Sorry for the delayed response > > On Fri, Jan 21, 2011 at 5:20 PM, Paul Ivanov wrote: >> ok, much clearer now - what you want is for your text to not be >> cut-off the way it is in the 8x8 80dpi plot? In other words, >> there

[Matplotlib-users] [ANN] FEMTEC: Trac on open source scientific software

2011-01-30 Thread Gael Varoquaux
Hi list, This is just a note that an extra track at FEMTEC, a conference for computational methods in engineering and science, is open for open source scientific software. The organisers have a taste for Python, so if you want to submit a paper on numerical methods with Python, this is an excellen

Re: [Matplotlib-users] Limit legend to visible data

2011-01-30 Thread Peter Butterworth
with a slight correction from the code proposed by Justin, it works fine (tested on mpl 1.0.1). On Wed, Dec 1, 2010 at 11:58 AM, Justin McCann wrote: > Is there a straightforward way to limit the legend only to lines that > appear within the current display limits? I have a plot that has too > ma