#14782: empty ticks result in empty axes in log scale
-------------------------------------+-------------------------------------
Reporter: ppurka | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: Punarbasu | Reviewers:
Purkayastha | Work issues:
Report Upstream: N/A | Commit:
Branch: | a4e6c88c8218545d7b1be8970d83e3c38687435d
u/ppurka/ticket/14782 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by kcrisman):
Weird, though I believe this probably is minimal, after reading the
graphics code for the axes again. I'll let you decide whether this is a
mpl bug and whether to report it upstream; it may be intended behavior.
In fact, what this also fixes is the following, which was missed before
because the axes were so big they were drawn to touch.
{{{
sage: plot(x^2,(x,1,2),ticks=[[],[]])
}}}
while
{{{
sage: plot(x^2,(x,1,2),ticks=[[],[3,4]])
}}}
was only missing one axis. So it is really tight, no extra artists, and
no (or few) ticks that does it! Quite a combination.
So positive review to your fix! Do you want to include a doctest? I
don't know that we could automatically check for this - I poked around
with `P.matplotlib()` for a while trying to get access to this but
couldn't find something telling me it was invisible, and in fact it still
seems to have all the attributes that would automatically accrue to it.
--
Ticket URL: <http://trac.sagemath.org/ticket/14782#comment:11>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.