[Matplotlib-users] xticks space problem

2012-08-27 Thread Mic
Hello, I am not able to get nicer spaces between the xticks with the following code: *import random import matplotlib.pyplot as plt coverages = [random.randint(1,10)*2] * 100 contig_names = ['AAB0008r'] * len(coverages) fig = plt.figure() fig.clf() ax = fig.add_subplot(111) ax.yaxis.grid(True, l

Re: [Matplotlib-users] Background basemaps in Basemap

2012-08-27 Thread Jeff Whitaker
On 8/27/12 11:24 AM, klo uo wrote: > On Mon, Aug 27, 2012 at 2:34 PM, Jeff Whitaker wrote: >> Klo: WMS servers use EPSG codes to define map projections - Basemap uses a >> set of kwargs. We need some way of inferring epsg codes from the Basemap >> kwargs. Alternatively, we could extend Basemap s

Re: [Matplotlib-users] Background basemaps in Basemap

2012-08-27 Thread Alexander Crosby
We have a WMS server that uses basemap to display unstructured ocean model data. We just limit the set of projections to a select few (just the most common ones), and have a mapping between EPSG and the required Basemap kwargs. It sometimes requires some implementation of proj4 prior to getting

Re: [Matplotlib-users] Background basemaps in Basemap

2012-08-27 Thread klo uo
On Mon, Aug 27, 2012 at 2:34 PM, Jeff Whitaker wrote: > Klo: WMS servers use EPSG codes to define map projections - Basemap uses a > set of kwargs. We need some way of inferring epsg codes from the Basemap > kwargs. Alternatively, we could extend Basemap so it can accept EPSG codes. > But, there

Re: [Matplotlib-users] plotting a colored symbol with plot command

2012-08-27 Thread Michael Rawlins
From: Warren Weckesser To: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, August 25, 2012 11:13 AM Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command On Sat, Aug 25, 2012 at 9:59 AM, Michael Rawlins wrote: > > > >

[Matplotlib-users] strange behaviour with fill_between

2012-08-27 Thread Francesco Montesano
Dear matplotlibers, I encountered a bug (?) in fill_between when using logarithmic scales and the last part of y and yerr arrays as set to zero: a diagonal stripe going from the rightmost non zero value to the first value is drawn. It's visible in the right panel of the attached figure, while is n

Re: [Matplotlib-users] Background basemaps in Basemap

2012-08-27 Thread Jeff Whitaker
On 8/26/12 9:07 PM, klo uo wrote: > On Sun, Aug 26, 2012 at 9:56 PM, Jeff Whitaker wrote: >> Klo: Since epsg codes comprise a very small subset of possible Basemap >> projections, it may be better to just allow Basemap to accept an epsg kwarg. >> That keyword would be required in order to use a WM