I had a closer look at an issue raised previously
(http://old.nabble.com/can't-output-emf-pdf-eps-figure-file-corrently-with-my-dataset.-to31104695.html#a31107307),
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
at all).
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
Matplotlib 1.0.1).
···
--
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.