Ticket #5594 (closed defect: fixed)
[with patch, positive review] better error message for list_plot
| Reported by: | jason | Owned by: | was |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-4.1 |
| Component: | graphics | Keywords: | |
| Cc: | jhpalmieri | Work issues: | |
| Report Upstream: | Reviewers: | Nick Alexander | |
| Authors: | John Palmieri | Merged in: | sage-4.1.alpha0 |
| Dependencies: | Stopgaps: |
Description
We might consider testing whether the second argument to list_plot (which is "plotjoined", should be boolean) is a list or tuple, and then print a warning, because perhaps someone ran "list_plot([list1], [list2])" without meaning to.
Attachments
Change History
comment:1 Changed 4 years ago by jhpalmieri
- Summary changed from better error message for list_plot to [with patch, needs review] better error message for list_plot
Note: See
TracTickets for help on using
tickets.


This patch raises a TypeError if plotjoined is a list or a tuple.