From: <ds...@us...> - 2007-11-15 21:23:34
|
Revision: 4325 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4325&view=rev Author: dsdale Date: 2007-11-15 13:23:27 -0800 (Thu, 15 Nov 2007) Log Message: ----------- added npy.seterr(invalid='ignore') to beginning of axes.py, to silence repeated warnings created by finding extrema of arrays containing nans (discovered during calls to errorbar) Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2007-11-15 21:13:52 UTC (rev 4324) +++ trunk/matplotlib/lib/matplotlib/axes.py 2007-11-15 21:23:27 UTC (rev 4325) @@ -2,6 +2,7 @@ import math, sys, warnings import numpy as npy +npy.seterr(invalid='ignore') import matplotlib.numerix.npyma as ma @@ -2503,7 +2504,6 @@ self._process_unit_info(xdata=x, ydata=ymin, kwargs=kwargs) - if not iterable(x): x = [x] if not iterable(ymin): ymin = [ymin] if not iterable(ymax): ymax = [ymax] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |