Re: [Matplotlib-users] Dark or inverted color scheme

2012-06-05 Thread David Smith
I got pretty good results with the code below. Note that I am reading the FLIP_COLORS from a gui checkbox. FLIP_COLORS = self.dark_background_flag.get() if FLIP_COLORS: matplotlib.rcParams['figure.facecolor'] = '0.0' matplotlib.rcParams['axes.edgecolor'] = '

Re: [Matplotlib-users] How to do million data-point plots with Matplotlib?

2011-12-16 Thread David Smith
I have experimented with path.simplify and can't see any appreciable improvements. Incidently, I also experimented with other back ends. I found that all the back ends involving Agg behave similarly. However, using the 'GTK' backend it renders the whole 1 million points and does it very fast (ab

[Matplotlib-users] How to do million data-point plots with Matplotlib?

2011-12-10 Thread David Smith
--- start code - ## Demo program shows how to "chunk" plots to avoid the exception: ## ##    OverflowError: Agg rendering complexity exceeded. ##    Consider downsampling or decimating your data. ## ## David Smith December 2011. from pylab impor

[Matplotlib-users] Cursor corruption with pyqt4 and a work-around.

2010-06-17 Thread David Smith
oblem for the moment. Perhaps it will help another PyQt and Matplotlib user and perhaps urge developers to fix the problem in the Matplotlib core. David Smith -- ThinkGeek and WIRED's GeekDad team up for the Ultim

Re: [Matplotlib-users] Contour with locator=FixedLocator(...) drops first and last contours from the list.

2010-03-16 Thread David Smith
your change fixed it. David Smith On Sat, Mar 13, 2010 at 12:30 PM, Eric Firing wrote: > David Smith wrote: > >> This is a bug report. >> >> I am using matplotlib 0.99.1 on Windows. When using contour with the >> keyword >> argument locator=ticker.FixedLoc

[Matplotlib-users] Contour with locator=FixedLocator(...) drops first and last contours from the list.

2010-03-01 Thread David Smith
This is a bug report. I am using matplotlib 0.99.1 on Windows. When using contour with the keyword argument locator=ticker.FixedLocator(levels), the plot is always dropping the first and last contour level. If there are less than 3 levels, contour.py throws an exception. My workaround is to dup