#13078: Make it easier to do custom tick formatting
-------------------------------+--------------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.3
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by ppurka):
The docstring says
{{{
If the value of this keyword is a single item, then this will
give the formatting for the horizontal axis *only* (except for
the ""latex"" option). If it is a list or tuple, the first is
for the horizontal axis, the second for the vertical axis. The
options are below:
}}}
Notice that prior to this, a list was not allowed only for the horizontal
axis. It was always a `single item`, whatever that meant (and it didn't
mean a list).
I really want to force the requirement of having `ticks` and
`tick_formatter` being of correct lengths. I want to avoid situations
where,for instance, the user inputs `ticks=pi` and then doesn't give the
correct number of custom labels. Is there some easy way of determining how
many tick positions will be present in an axis?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13078#comment:8>
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.