Opened 10 years ago
Last modified 7 years ago
#12300 new defect
Options decorators don't print correctly when changed
Reported by: | kcrisman | Owned by: | jason |
---|---|---|---|
Priority: | minor | Milestone: | sage-6.4 |
Component: | misc | Keywords: | |
Cc: | jason | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Observed at #12214:
sage: polygon2d.options {'alpha': 1, 'legend_label': None, 'rgbcolor': (0, 0, 1), 'thickness': 0} sage: P = polygon([[1,2], [5,6], [5,0]]); P # looks blue sage: polygon2d.options['rgbcolor']=(1,0,0) sage: P = polygon([[1,2], [5,6], [5,0]]); P # looks red sage: polygon2d.options {'alpha': 1, 'legend_label': None, 'rgbcolor': (1, 0, 0), 'thickness': 0} sage: polygon2d.defaults() {'alpha': 1, 'legend_label': None, 'rgbcolor': (0, 0, 1), 'thickness': 0} sage: polygon2d.reset() sage: polygon2d.options {'alpha': 1, 'legend_label': None, 'rgbcolor': (1, 0, 0), 'thickness': 0} # so you'd think it would be still red sage: P = polygon([[1,2], [5,6], [5,0]]); P # but looks blue again like it should
So notice that options behave correctly, but don't print correctly for some reason.
Change History (4)
comment:1 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:2 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:3 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:4 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.