#12591: same color shows up different in graphics_array
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: graphics | Resolution:
Keywords: graphics_array, | Merged in:
color | Reviewers:
Authors: Frédéric Chapoton | Work issues:
Report Upstream: N/A | Commit:
Branch: u/chapoton/12591 | 0aa089a5e1a800600ef38af6198782db16fabc03
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by kcrisman):
But there is a problem...
> In fact, there is another manifestation of this there.
> {{{
> > graphics_array([plot(sin(B*x), xmin=-2*pi, xmax=2*pi,
tick_formatter=pi, ticks=pi/2, axes_labels=('', '%s'%B)) for B in
[-2,-1,-1/2,1/2,1,2]], 3, 2)
> }}}
Actually, it turns out that fixing this ticket makes that issue even
worse. It's only in that save command which I just removed that all these
extra options get used at all! So the "right" fix for this would fix
both; the current fix would leave that the same but still have the problem
mentioned.
Your current fix, though, as far as I can tell, doesn't really make things
''worse'', because for me in vanilla Sage I get for the command you
mention in this comment
> Note that the legend in the third picture is no longer duplicated, but
does not look the same:
that it just has two of the weird legends, so one weird legend is better
than duplicated weird legends, right?
Let me know what you think; properly doctested (well, mentioned in a tests
section, though perhaps we could extract the last element of a graphics
array and check that it just has one figure), this change is a step in the
right direction, I think.
--
Ticket URL: <http://trac.sagemath.org/ticket/12591#comment:16>
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.