Re: [Matplotlib-users] Incomplete rendering of line plot

2010-04-23 Thread Eric Firing
Tom Aldcroft wrote: > I've run into a case where the rendering in a line plot is incomplete > and some lines are not drawn at all. Basically I have a dataset (see > below) where I know two points go to a value of zero. When I plot > the points and do interactive pan/zoom sometimes the line going

[Matplotlib-users] Incomplete rendering of line plot

2010-04-23 Thread Tom Aldcroft
I've run into a case where the rendering in a line plot is incomplete and some lines are not drawn at all. Basically I have a dataset (see below) where I know two points go to a value of zero. When I plot the points and do interactive pan/zoom sometimes the line going down to zero is there and s

Re: [Matplotlib-users] smoother plots - pcolormesh

2010-04-23 Thread Michael Droettboom
imshow has a number of different interpolation methods you can try: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.imshow Mike John wrote: > Hello, > > I'm trying to plot 0.5x0.5 global data. I'm currently using > pcolormesh. I have a log color scale and haven't bee

Re: [Matplotlib-users] legend: symbols is duplicated

2010-04-23 Thread Carlos Grohmann
Many thanks! carlos On Thu, Apr 22, 2010 at 18:54, Gökhan Sever wrote: > > > On Thu, Apr 22, 2010 at 4:44 PM, Carlos Grohmann > wrote: >> >> Hi all, >> >> I'm getting this weird behavior of legend. I always get two symbols in >> front of the labels, instead of one. >> Did anyone experienced thi

[Matplotlib-users] Issues with Circle

2010-04-23 Thread Thomas Robitaille
Hi, I'm having issues with translucent patches. The following code import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as mpl from matplotlib.patches import Circle fig = mpl.figure() ax = fig.add_subplot(111) c = Circle((0.25,0.5), radius=0.2, facecolor='none', edgecolor='green', a

Re: [Matplotlib-users] Can't turn-off ticks when sharing axis

2010-04-23 Thread Gökhan Sever
On Thu, Apr 22, 2010 at 7:38 PM, John Hunter wrote: > > The standard trick is to make the ticklabels on one axes invisible > > for label in ax.get_xticklabels(): >label.set_visible(False) > > > JDH > Thanks John, This answer seems familiar to me :) You have caught my intention correctly --n

[Matplotlib-users] patch: adding kwargs 'which' in axes.grid and 'g' toggles all tick grid lines

2010-04-23 Thread Matthias Michler
Hello list, Hello developers, I'd like to summarize my discussion with Gökhan ("Turning off minor grids on log scaled plot") in the last days and propose two patches. The first patch adds the keyword argument 'which' from the axis.grid to the method 'grid' of the Axes (axes_grid_for_major_and_m