Opened 10 years ago

Last modified 10 years ago

#12936 closed enhancement

Adding plots should (at least attempt to) preserve legend options — at Initial Version

Reported by: mjo Owned by: jason, was
Priority: major Milestone: sage-5.1
Component: graphics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


The __add__() method of plots doesn't make any attempt to preserve legend options. This will show the default legend:

sage: p1 = plot(x, x, -1, 1, legend_label='foo')
sage: p2 = p1 + p1                              
sage: p2

We do preserve some other information, so it should be easy to add this.

Change History (0)

Note: See TracTickets for help on using tickets.