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
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
--- 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
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
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'] = '
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