Flavio Codeco Coelho wrote:
> Hi John,
>
> look at this strange bug in mathtext:
>
> from matplotlib.matlab import *
> >>> plot([1,2,3])
> [<matplotlib.lines.Line2D instance at 0x4120f4cc>]
> >>> title(r'$\alpha=6.6$')
> <matplotlib.text.Text instance at 0x4120f46c>
> >>> show()
>
>
> the two sixes in the title are replaced by '&' resulting in: \alpha=&.&
>
> I am running 0.54.2
>
> thanks
> Flávio Codeço Coelho, PhD
> Programa de Computação Científica
> Fundação Oswaldo Cruz
> Rio de Janeiro -- Brasil
>
>
> ------------------------------------------------------------------------
>
Yes. While working on Postscript support for TrueType Fonts, I came across this
bug. It will be fixed in a future release.
-- Paul
--
Paul Barrett, PhD Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Branch
FAX: 410-338-4767 Baltimore, MD 21218
|