Re: [matplotlib-devel] Colormap that prints nicely in black and white

2010-08-18 Thread Friedrich Romstedt
2010/8/18 Benjamin Root : > I had a thought... and it is based on my admittedly incomplete understanding > of matplotlib.  Everything that gets drawn is derived from the artist class, > right?  So, what if there was a 'grey' boolean in that base class, and the > .draw() function passes that bool do

Re: [matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Daniel Hyams
Sure: --- axis.py 2010-08-18 09:59:25.0 -0400 +++ axis.py.orig2010-08-18 09:58:13.0 -0400 @@ -1049,12 +1049,9 @@ def _get_offset_text(self): raise NotImplementedError('Derived must override') -def get_gridlines(self,minor=False): +def get_gridline

Re: [matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Ryan May
On Wed, Aug 18, 2010 at 9:25 AM, Daniel Hyams wrote: > This is a small patch to enable get_gridlines to be able to get the grid > lines for the minor ticks as well. > 1052c1052 > <     def get_gridlines(self): > --- >>     def get_gridlines(self,minor=False): > 1054c1054,1055 > <         ticks = s

Re: [matplotlib-devel] ax.scatter broken for triangular markers

2010-08-18 Thread Thomas Robitaille
I can confirm that this now works fine - thanks for the quick fix! Tom On Aug 18, 2010, at 12:09 PM, Michael Droettboom wrote: > Should be fixed in r8648 now. > > Mike > > On 08/18/2010 11:45 AM, Thomas Robitaille wrote: >> Hi, >> >> I updated to the latest svn version of matplotlib this morn

Re: [matplotlib-devel] ax.scatter broken for triangular markers

2010-08-18 Thread Michael Droettboom
Should be fixed in r8648 now. Mike On 08/18/2010 11:45 AM, Thomas Robitaille wrote: > Hi, > > I updated to the latest svn version of matplotlib this morning, and > Axes.scatter seems to be broken when using marker='v', '>','<', or '^': > > import matplotlib > matplotlib.use('Agg') > import matpl

[matplotlib-devel] ax.scatter broken for triangular markers

2010-08-18 Thread Thomas Robitaille
Hi, I updated to the latest svn version of matplotlib this morning, and Axes.scatter seems to be broken when using marker='v', '>', '<', or '^': import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as mpl fig = mpl.figure() ax = fig.add_subplot(1,1,1) ax.scatter([1,2,3], [4,5,6], ma

[matplotlib-devel] small patch for trunk/matplotlib/lib/matplotlib/axis.py

2010-08-18 Thread Daniel Hyams
This is a small patch to enable get_gridlines to be able to get the grid lines for the minor ticks as well. 1052c1052 < def get_gridlines(self): --- > def get_gridlines(self,minor=False): 1054c1054,1055 < ticks = self.get_major_ticks() --- > if minor: ticks = self.get_minor

Re: [matplotlib-devel] Colormap that prints nicely in black and white

2010-08-18 Thread Benjamin Root
On Tue, Aug 17, 2010 at 4:19 PM, Friedrich Romstedt < friedrichromst...@gmail.com> wrote: > 2010/8/17 Benjamin Root : > > "...it will not be necessary..." > > > > I think we are still getting confused here. I was listing off several > > different kinds of use-cases where one would like to have a

[matplotlib-devel] Data limit oddity when combining normal line and axvline collections

2010-08-18 Thread Ludwig Schwardt
Hi, I am hesitant to call the following a bug. It might just be a misunderstanding on my side. Anyhow... I am plotting a normal line collection and an "axvline" collection on the same Axes. The latter is a collection of lines with data coordinates for x and axes coordinates for y, using a blended