Ticket #2236 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[with patch, positive review] plot randomizes the endpoints of the interval and causes wiggling in the graph

Reported by: jason Owned by: was
Priority: major Milestone: sage-2.10.2
Component: graphics Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

p=plot(x, (x,-1,1)) p[0][0] == -1 p[0][-1] == 1

They will almost always return false before the patch. After the patch, the two statements should return True always.

Attachments

plot_fix_endpoints.patch Download (1.4 KB) - added by jason 3 years ago.

Change History

Changed 3 years ago by was

I agree with the suggestion to *not* randomize the endpoints. That's bad.

Changed 3 years ago by jason

Changed 3 years ago by jason

  • summary changed from plot randomizes the endpoints of the interval and causes wiggling in the graph to [with patch, needs review] plot randomizes the endpoints of the interval and causes wiggling in the graph

Changed 3 years ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed

Merged in Sage 2.10.2.alpha2

Changed 3 years ago by jason

For the record, on IRC:

[16:55] <wstein> #2236 -- positive review.

Changed 3 years ago by jason

  • summary changed from [with patch, needs review] plot randomizes the endpoints of the interval and causes wiggling in the graph to [with patch, positive review] plot randomizes the endpoints of the interval and causes wiggling in the graph
Note: See TracTickets for help on using tickets.