[EMAIL PROTECTED] wrote: > LaTeX can accept embedded Python code with a python.sty file. > > This is handy to dynamically generate plots with Matplotlib for a LaTeX slide > presentation. > > I successfully embedded lots of matplotlib plot code into my slides > and then had problems with zorder. > > For some reason zorder seems to mess up the footer of my Beamer/LaTeX slides. > (For some reason zorder setting make the footer shrink in size.) > > Is there any weirdness or side effects about zorder I should be aware of that > would explain this? > My best guess is that when the elements of the plot are in a particular order, the "last drawn" element has some setting that is not getting reverted back when going back to the LaTeX part of the slide. In general, matplotlib doesn't explicitly try to be careful about state in its output since it is really the embedding applications job (in this case Beamer/LaTeX) that is supposed to ensure that anything it embeds does not have external side effects.
But I've never tried this combination of python.sty/Beamer/LaTeX personally. Can you send us the output of your plot on its own (ps or pdf...)? Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users