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
contour_plot defaults changed to fill, affects implicit_plot #4462
Comments
Attachment: circle_sage3.1.1.png result of implicit_plot in sage 3.1.1 |
result of implicit_plot in sage 3.1.4 |
comment:1
Attachment: circle_sage3.1.4.png The fix is easy: change line 2926 of site-packages/sage/plot/plot.py, which currently reads
to
|
comment:2
It looks like #4201 forgot to override that option of contour plot. That's where the change was made. I refereed that patch; my bad. |
comment:3
Attachment: implicit-plot-no-fill.patch.gz |
comment:4
John Perry should also receive credit for the patch, since he gave the actual fix in his comment. I added documentation as well. |
comment:5
Looks good. |
comment:6
Merged implicit-plot-no-fill.patch in Sage 3.2.rc0 |
In Sage 3.1.1,
produces a very nice circle.
In Sage 3.1.4, the same code produces a filled-in disc. Likewise, implicit_plot tries to fill in all curves;
looks odd.
The cause is contour_plot (called by implicit_plot): the default for the fill option is True. Feeding fill=False to implicit_plot produces the desired behavior:
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/4462
The text was updated successfully, but these errors were encountered: