[Scikit-learn-general] pl.pcolormesh in the examples

2011-11-10 Thread Gael Varoquaux
Hi list, I am working on Robert's adjusted mutual information pull request, and I found something that is very comon in the scikit-learn examples: pl.pcolormesh(xx, yy, Z) This is actually fairly inefficient. The reason is that the mesh, in pcolormesh, can be arbitrary. If, on the contrary,

Re: [Scikit-learn-general] pl.pcolormesh in the examples

2011-11-10 Thread Vlad Niculae
Very much +1, I would always cringe when seeing colormesh calls. I gave a talk using the IPython notebook and scikit-learn examples, setting it to SVG mode at the top, and I would have to switch back to PNG mode for all examples using pcolormesh because it would crash (well probably just take