Hi,
I just noticed that this:
>>> x = np.arange(10)
>>> y = np.zeros(10)
>>> y[5] = 1
>>> plt.bar(x, y)
Will generate a big box for x = 5 with x 0:5 and 6: stripped, whereas this:
>>> y += 0.01
>>> plt.bar(x, y)
Will generate a bar plot going from x = 0 to 9 with a bar at 5 as I
was expect
Hot on the tails of v1.4.1, we have a v1.4.2 due to an error in the boxplot
api in pyplot.py
The only changes between 1.4.1 and 1.4.2 are:
- corrected boxplot in pyplot.py
- added extra paths to default search paths for freetype
Tom
--
Thomas Caswell
tcasw...@gmail.com
--
All,
We try to generate contour polygons from an unstructured triangular grid
stored in a netcdf file:
import netCDF4
import matplotlib.tri as tri
# read data
var = netCDF4.Dataset('filename.cdf').variables
x = var['x'][:]
y = var['y'][:]
elems = var['element'][:,:]-1
data = var[