DOC: fix some warnings + make more plots build with Matplotlib 1.2.0