Opened 14 months ago
Last modified 5 months ago
#28358 new defect
functions with predefined plot methods may have keyword collision
Reported by: | kcrisman | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | sage-9.2 |
Component: | graphics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
The specific example is this:
sage: plot(prime_pi,3,100,xmin=5) TypeError: plot() got multiple values for keyword argument 'min'
which clearly is because prime_pi.plot
has a predefined xmin
. This should be handled gracefully, since
sage: plot(prime_pi,3,100).show(xmin=5)
has no problems, since the show
method is separate from the actual plot creation.
Probably some other functions like euler, moebius, or some others will have this problem.
Change History (2)
comment:1 Changed 9 months ago by
- Milestone changed from sage-8.9 to sage-9.1
comment:2 Changed 5 months ago by
- Milestone changed from sage-9.1 to sage-9.2
Moving tickets to milestone sage-9.2 based on a review of last modification date, branch status, and severity.
Note: See
TracTickets for help on using
tickets.
Ticket retargeted after milestone closed