Opened 12 years ago
Closed 12 years ago
#10291 closed defect (fixed)
Plots are changing if showed multiple times
Reported by: | Andrey Novoseltsev | Owned by: | jason, was |
---|---|---|---|
Priority: | major | Milestone: | sage-4.6.1 |
Component: | graphics | Keywords: | |
Cc: | Merged in: | sage-4.6.1.alpha3 | |
Authors: | Mike Hansen | Reviewers: | Andrey Novoseltsev |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Run the following in Sage-4.6 Notebook:
p = polygon2d([(1,0), (1,1), (0,1), (0,0)]) for i in range(10): p
Every time the rectangle gets smaller and smaller.
It looks to me like axes_pad
is computed again and again and adding axes_pad=0
indeed solves the problem. But I don't know much about plotting framework, so I will be happy is someone else fixes it.
Attachments (1)
Change History (7)
comment:1 Changed 12 years ago by
Authors: | → Mike Hansen |
---|---|
Status: | new → needs_review |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Reviewers: | → Andrey Novoseltsev |
---|---|
Status: | needs_review → positive_review |
OK, positive review, I'll make #7981 depend on this one...
Changed 12 years ago by
Attachment: | trac_10291.patch added |
---|
comment:5 Changed 12 years ago by
Milestone: | → sage-4.6.1 |
---|
comment:6 Changed 12 years ago by
Merged in: | → sage-4.6.1.alpha3 |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
Tiny technical pick - can we cancel removal of the empty line 1716? Otherwise this patch and the fresh one at #7981 become conflicting/interdependent for no real reason.