#13368: plot(x, xmax=1, xmin=-1) comes up empty
-------------------------------------+-------------------------------------
Reporter: ppurka | Owner: jason, was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-7.3
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/paulmasson/13368 | 0f674f2d7e09d7c564ad093ac310d6749a607119
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by paulmasson):
* status: needs_info => needs_review
* commit: => 0f674f2d7e09d7c564ad093ac310d6749a607119
* cc: jhonrubia6 (added)
* milestone: sage-6.4 => sage-7.3
Comment:
He's a solution to this problem. Part of the reason the plots were empty
is that the function `setup_for_eval_on_grid()` in `plot/misc.py` outputs
plotting steps as an absolute value, not a signed value. I've removed that
and modified the doctests accordingly, but six other plotting files use
that function in addition to `plot.py`.
All plotting doctests pass and documentation all builds. I scanned all
seven plotting documentation HTML files that use
`setup_for_eval_on_grid()` and didn't see anything strange, but other eyes
need to look at them closely.
Adding Javier to cc list since he's been working on plotting examples and
might spot something wrong.
----
New commits:
||[https://git.sagemath.org/sage.git/commit?id=46d577880141173f2defd0fe5cc8e99f2bf06d0e
46d5778]||{{{Pass xmin and xmax to show()}}}||
||[https://git.sagemath.org/sage.git/commit?id=0f674f2d7e09d7c564ad093ac310d6749a607119
0f674f2]||{{{Fix doctests after removing 'abs'}}}||
--
Ticket URL: <https://trac.sagemath.org/ticket/13368#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.