I had a closer look at an issue raised previously (http://old.nabble.com/can%27t-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-%28but-not-screen%29-output-raises-%22Path-lacks-initial-MOVETO%22-tp32470066p32470066.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users