Hi All,
I have a pcolor plot with 101 rows, and I was using this:
...
ODEPTH = np.linspace(0, 10, 101)
...
odepthl = [str(x) for x in ODEPTH]
ax.yaxis.set_ticks(np.arange(ODEPTH.size)+0.5)
ax.yaxis.set_ticklabels(odepthl)
...
To set the ticks centered on each row. Now I'm interested on having
th
Apologies for cross-posting - if you are not using ubuntu, don't read ahead.
If you are using ipython combined with '-wthread' (for mayavi's mlab) or
'-pylab' (for matplotlib), there is currently a bug in Ubunty 11.04 (natty)
with ipython 0.10.1, which prevents the correct thread handling: