Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot(x^2, (x, -2, 2), fill=2) does not match documentation #6090

Closed
jasongrout opened this issue May 20, 2009 · 6 comments
Closed

plot(x^2, (x, -2, 2), fill=2) does not match documentation #6090

jasongrout opened this issue May 20, 2009 · 6 comments

Comments

@jasongrout
Copy link
Member

According to the docs, if fill is a number c, then: "a number c: Fill the area between the function and the horizontal line y = c."

However, the above plot just fills to the x-axis. My guess is that it is because bool(2)==True, so plot thinks we have fill=True?

Component: graphics

Issue created by migration from https://trac.sagemath.org/ticket/6090

@sagetrac-whuss
Copy link
Mannequin

sagetrac-whuss mannequin commented May 20, 2009

comment:1

This is a duplicate of #5438.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 20, 2009

comment:2

Replying to @sagetrac-whuss:

This is a duplicate of #5438.

Hmm, given that this went into 3.4.2 I wonder why Jason did hit this problem?

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 20, 2009

comment:3

Jason,

I am marking this a potential dupe in the summary so we won't forget to close it assuming you can confirm it as one.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title plot(x^2, (x, -2, 2), fill=2) does not match documentation [probably dupe] plot(x^2, (x, -2, 2), fill=2) does not match documentation May 20, 2009
@sagetrac-whuss
Copy link
Mannequin

sagetrac-whuss mannequin commented May 20, 2009

comment:4

Replying to @sagetrac-mabshoff:

Replying to @sagetrac-whuss:

This is a duplicate of #5438.

Hmm, given that this went into 3.4.2 I wonder why Jason did hit this problem?

#5438 says it went into 4.0.alpha0 not 3.4.2.

Cheers,

Wilfried

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 20, 2009

comment:5

Replying to @sagetrac-whuss:

#5438 says it went into 4.0.alpha0 not 3.4.2.

Oops, I must have looked at some permutation of "5438" then. Sorry for the screwup.

Cheers,

Wilfried

Closed as dupe. Jason: If you disagree let us know.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin removed this from the sage-4.0.1 milestone May 20, 2009
@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed May 20, 2009
@jasongrout
Copy link
Member Author

comment:6

Okay, I just tested it in 4.0, and it works great. Sorry; it seems that I should have caught the other ticket in a search. I'm not sure why I didn't. Thanks for the prompt response!

@jasongrout jasongrout changed the title [probably dupe] plot(x^2, (x, -2, 2), fill=2) does not match documentation plot(x^2, (x, -2, 2), fill=2) does not match documentation May 20, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants