Ticket #13340 (closed defect: duplicate)
log scale plot fails if xmin > xmax
| Reported by: | ppurka | Owned by: | jason, was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | graphics | Keywords: | |
| Cc: | kcrisman | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Punarbasu Purkayastha |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by ppurka) (diff)
Superseded by #13422
The summary. The problem is a simply a missing abs() function. Example:
plot(x,1,10).show(scale='loglog', xmin=10, xmax=1)
File "/home/punarbasu/Installations/sage-5.2.trac/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 1972, in _matplotlib_tick_formatter
raise ValueError('Either expand the range of the independent '
ValueError: Either expand the range of the independent variable to allow two different integer powers of your `base`, or change your `base` to a smaller number.
Attachments
Change History
Changed 10 months ago by ppurka
-
attachment
trac_13340-fix_logscale_xmin_xmax.patch
added
comment:1 Changed 10 months ago by ppurka
- Status changed from new to needs_review
- Description modified (diff)
- Authors set to Punarbasu Purkayastha
comment:2 Changed 9 months ago by ppurka
- Cc kcrisman added
You are probably interested in this patch. Not sure how I missed it in #4529 :)
comment:3 Changed 9 months ago by ppurka
- Status changed from needs_review to positive_review
- Description modified (diff)
comment:5 in reply to: ↑ 4 ; follow-up: ↓ 6 Changed 9 months ago by kcrisman
Someone close this as invalid :(
The issue as described seems orthogonal to #13340. Are you saying it's fixed there? I wouldn't say invalid so much as a dup then.
comment:7 Changed 9 months ago by kcrisman
- Reviewers set to Punarbasu Purkayastha
- Milestone changed from sage-5.3 to sage-duplicate/invalid/wontfix
- Authors Punarbasu Purkayastha deleted
Note: See
TracTickets for help on using
tickets.

Apply to devel/sage