Ticket #5635 (closed defect: fixed)
[with patch, positive review] plot method on lattice polytopes gives something ridiculous
| Reported by: | was | Owned by: | mhansen |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.4.1 |
| Component: | combinatorics | Keywords: | |
| Cc: | sage-combinat | Work issues: | |
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
The plot method on an object should return either a 2d plot or raise NotImplementedError? (or not be defined). On LatticePolytope?'s it returns a 3d Tachyon object.
sage: p = LatticePolytope(random_matrix(ZZ, 3,6, x=7)).plot() sage: type(p) <class 'sage.plot.tachyon.Tachyon'>
Attachments
Change History
comment:1 Changed 4 years ago by novoselt
- Summary changed from plot method on lattice polytopes gives something ridiculous to [with patch, needs review] plot method on lattice polytopes gives something ridiculous
The patch removes plot() method and fixes the documentation. I also changed show() to show3d(), which shows the plot without axes.
comment:2 Changed 4 years ago by was
- Summary changed from [with patch, needs review] plot method on lattice polytopes gives something ridiculous to [with patch, positive review] plot method on lattice polytopes gives something ridiculous
Note: See
TracTickets for help on using
tickets.

