Opened 8 years ago
Last modified 8 years ago
#15776 new defect
Fix formatting for tick marks that are latexed
Reported by: | kcrisman | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | sage-6.4 |
Component: | graphics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
See this ask.sagemath question.
plot(1-4*x^2,.49999,.50001,tick_formatter=.00001.n(digits=7))
triggers the "if getting something in SR for a formatter then make sure both LaTeX" branch of the Graphics.matplotlib
code and somehow that breaks with errors like
ValueError: \text{\texttt{{-}8e{-}05}} ^ Unknown symbol: \ttext (at char 0), (line:1, col:1)
so that mpl, in trying to typeset -8e^-5
somehow decides to prepend yet another text thing on it.
Change History (3)
comment:1 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:2 Changed 8 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:3 Changed 8 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.