Ticket #10291 (closed defect: fixed)
Plots are changing if showed multiple times
| Reported by: | novoselt | Owned by: | jason, was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.6.1 |
| Component: | graphics | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Andrey Novoseltsev |
| Authors: | Mike Hansen | Merged in: | sage-4.6.1.alpha3 |
| 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
Change History
comment:1 Changed 2 years ago by mhansen
- Status changed from new to needs_review
- Authors set to Mike Hansen
comment:2 Changed 2 years ago by novoselt
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.
Note: See
TracTickets for help on using
tickets.

