I had a closer look at an issue raised previously
because I found out where the problem lies: when plotting a figure in log
scale with some null values, screen plots display fine (Mac OS X backend);
however, when trying to save the figure (with savefig) to PDF, a "Path lacks
initial MOVETO" exception is raised (it looks like this may be related to
the way masked values are handled by both backends).
It would be better if Matplotlib's backends were consistent, here (i.e. if
it failed both on screen and when generating the PDF, or if it did not fail
I attach a slightly modified version of the original program:
http://old.nabble.com/file/p32470066/t.py t.py . Commenting out the
savefig() call makes the program work nicely (Mac OS X backend, MacPort's
View this message in context: http://old.nabble.com/PDF-(but-not-screen)-output-raises-"Path-lacks-initial-MOVETO"-tp32470066p32470066.html
Sent from the matplotlib - users mailing list archive at Nabble.com.