#12591: same color shows up different in graphics_array
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner: jason, was
Type: defect | Status: needs_review
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:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Fr\xe9d\xe9ric Chapoton', 'oldvalue': ''}):
* cc: kcrisman (added)
* commit: => 0aa089a5e1a800600ef38af6198782db16fabc03
* status: new => needs_review
* branch: => u/chapoton/12591
* author: => Frédéric Chapoton
Comment:
The culprit was the line
{{{
g.save(filename, dpi=dpi, figure=figure, sub=subplot,
verify=do_verify, axes=axes, **kwds)
}}}
in sage/plot/graphics.py. Here g was defined inside the previous loop, so
after the loop it gets once again the last value.
I have just extracted the last object by stopping the loop one step
before.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=0aa089a5e1a800600ef38af6198782db16fabc03
0aa089a]||{{{trac #12591 workaround against duplication of last object in
graphics_array}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/12591#comment:10>
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.