[Matplotlib-users] saving from GUI versus savefig, rc figure.facecolor, figure.edgecolor

2008-04-08 Thread Matt McCormick
Hi,

Trying to save a figure with a black figure.facecolor, black figure.edgecolor.  
If I savefig(), it follows the rc file settings, but if save from the button 
in the GUI, I get a white figure.facecolor and figure.edgecolor.  I tried 
changing the GUI backends to no avail.  Currently using Qt4Agg.

Thanks.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib performance

2008-04-15 Thread Matt McCormick

> I agree that exploration of large data sets is an important application,
> and that we need to speed it up.  A couple days ago I added   automatic
> subsetting (but not decimation--although this could be added easily) to
> image drawing, and that made a big difference for panning and zooming
> using imshow or pcolorfast with regular grids.

Cool.  

Low-pass filtering is more work to implement and takes away from the 
computational gains, but it's necessary to prevent aliasing a la the 
Nyquist-Shannon theorem.

> An easy, built-in interface makes sense for line/marker plotting as
> well, but it will take some thought to figure out exactly what that
> interface should be.  The line plotting case (including things like
> scatter) is more complicated than the image.  Probably optimizations
> should be specified via kwargs, not by default.

true

> Clipping should not be to points inside the xlim, but should include one
> more point on each side so that lines go to the edge of the box.

Good point.  As I understand npy.searchsorted(), it should then be

  ind0 = npy.searchsorted(self.xorig, xlim[0], side='left')
  ind1 = npy.searchsorted(self.xorig, xlim[1], side='right')

instead of 

  ind0, ind1 = npy.searchsorted(self.xorig, xlim)


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users