-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
make it so plot(...) passes extra options to show (maybe only those that makes sense) #5651
Comments
comment:2
This is really awesome. However, things like this should work too:
Also, this should have gridlines:
Clarify the comment
}}} |
comment:3
Now it works for everything, ever!! With doctests too. |
comment:4
Positive review modulo making so consistent with 3d plotting:
Note that it is the rightmost thing that has precedence. Otherwise positive review. |
Attachment: trac5651.patch.gz |
comment:5
William, |
comment:7
This one needs to be rebased due to a doctest merge conflict in arrow.py. On top of that: this is a diff, so please make sure you post a proper patch this time.
Note that various doctest patches in plot/* are going into 4.0.alpha0, so please rebase post 4.0.a0. Cheers, Michael |
comment:9
I rebased the patch on Sage 4.0.rc0. As far as I could tell, the doctest failures I encountered were not related to this patch. My apologies for posting a diff beforehand, I'm still learning the idiosyncracies of Mercurial Queues :). |
comment:12
Hi Bill, I tried applying this to 4.0 and got a bunch of failures. I can probably rebase it later this evening. |
comment:13
I would appreciate that mhansen, thanks! |
comment:14
I added a new rebase, so if someone could review this then we can finally get this functionality into Sage. I feel like I did a little bit of a dirty thing with the new linkmode parameter, which was added somewhere along the line. linkmode is intended to be consumed by show() before the keywords are passed onto save(), so I just popped it from the keyword dict at the beginning of the function. |
based on sage 4.1.alpha2 (fixed, whoops) |
comment:15
Attachment: trac5651-rebase.patch.gz The rebased patch applies fine to my 4.1 tree. I tried a few examples and ran the doctests in plot/.py[x] and plot/plot3d/.py[x] and everything seems fine. I'm giving a positive review to the rebasing. That combined with William's almost positive review above adds up to a positive review. I also looked at the code and it looked reasonable. Thanks and good work! |
Reviewer: William Stein, Jason Grout, |
Author: Bill Cauchois |
Merged: sage-4.1.1.alpha0 |
comment:16
Merged
In
In
In
These issues should be addressed in another enhancement ticket. |
comment:17
See #6573 for an enhancement ticket. |
Changed reviewer from William Stein, Jason Grout, to William Stein, Jason Grout |
This works now:
This would be nice:
The analogue of the above works systematically everywhere for 3d plotting.
CC: @sagetrac-wcauchois @williamstein @jasongrout
Component: graphics
Author: Bill Cauchois
Reviewer: William Stein, Jason Grout
Merged: sage-4.1.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/5651
The text was updated successfully, but these errors were encountered: