16/02/10 @ 09:03 (-0500), thus spake Filipe Pires Alvarenga Fernandes: > Thanks Ernest, I had no idea that the DateFormatter was going to be treated > as latex as well.
Yes, all strings are processed by LaTeX. > > However, escaping the \ with another \ did not worked. > I tried: > > majorF = DateFormatter("\\n \\n %b") > > How should I escape the \n ? In theory, "\\n \\n %b" or r"\n \n %b", however only the former seems to work in my computer. There's another problem: \n is not a valid LaTeX command. I tried with \\ and with \newline but neither appear to work. \vspace{10pts} does insert whitespace, however I am not sure if it's the proper way of doing it... Bye. > > > majorF = DateFormatter("\n \n %b") # problem > > ^^ ^^ > > A common mistake. > > You forgot to escape the "\" characters. > > > > Bye. > > > > Ernest > > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users