#13161: Fix unicode issue in axes labels
----------------------------------+-----------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Sébastien Labbé
Authors: Dan Drake, 王瑞期 | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Description changed by slabbe:
Old description:
> See [http://ask.sagemath.org/question/1559/a-bug-in-graphicspy this
> ask.sagemath.org post]. The proposed fix there is to replace
> [http://hg.sagemath.org/sage-
> main/file/9ab4ab6e12d0/sage/plot/graphics.py#l634 this line] by
> {{{
> #!diff
> -self.__axes_labels = (str(l[0]), str(l[1]))
> +self.__axes_labels = (l[0], l[1])
> }}}
> Considering that `l` is already supposed to be a tuple or list of two
> strings, this seems pretty plausible.
>
> --------
>
> Apply [attachment:trac_13161.patch].
New description:
See [http://ask.sagemath.org/question/1559/a-bug-in-graphicspy this
ask.sagemath.org post]. The proposed fix there is to replace
[http://hg.sagemath.org/sage-
main/file/9ab4ab6e12d0/sage/plot/graphics.py#l634 this line] by
{{{
#!diff
-self.__axes_labels = (str(l[0]), str(l[1]))
+self.__axes_labels = (l[0], l[1])
}}}
Considering that `l` is already supposed to be a tuple or list of two
strings, this seems pretty plausible.
--------
Apply [attachment:trac_13161.patch] and [attachment:trac_13161-review-
sl.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13161#comment:22>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.