-
-
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
Refactor and extend root systems plots #4327
Comments
comment:2
I find this ticket is completely integrated inside #4326 I remember that i did this job. So feel free to merge/destroy/erase this ticket. I don't know the current way to dealt with such ticket... |
comment:3
Actually, there is still room for improvement to the current plots. So let's keep this open. I'll just update the description. |
This comment has been minimized.
This comment has been minimized.
comment:4
Hello, Here is a patch which realize the porting of what was done in MuPAD... I tried to do my best but this patch really need a strong English language review. For anybody interssinting in reviewing, commenting, or anything... here are some pointers : MuPAD example : Sage-support discussion : |
comment:5
Hellooooooooooo !! Nicolas M. Thiéry : that's the ticket that should have been set to Nathann |
Author: Nicolas Borie, Nicolas M. Thiéry |
comment:6
I'll upload a (quite heavily) refactored patch shortly. |
Reviewer: Nicolas M. Thiéry, Nicolas Borie |
This comment has been minimized.
This comment has been minimized.
Work Issues: lazy import sage.combinat.root_system.plot |
comment:8
So, the test pass, but the startup module complains about the new module that is imported on startup. I'll try with a lazy import tomorrow. I leave it as needs review, as the review of all the rest can continue! |
comment:9
Replying to @nthiery:
Hmm, I just had a look, but am not sure how to handle this. Lazy importing works just fine for the code, but then:
fails, whereas I think we want to support this natural way to access The seemingly natural solution would be to lazy import the full module. However:
I'll post on Sage-devel on this topic. In the mean time the rest of If we can't get a good solution shortly, I am at this point in favor Cheers, |
comment:11
The updated patch implements wireframe drawing for 3D alcoves, and specifying a color as None to disable certain pieces. It also fixes a couple typos here and there in the doc. |
comment:12
Hey Nicolas2, Does this conflict with #2023, and if so, which patch do you want to have the dependency? Thanks, Travis |
Changed work issues from lazy import sage.combinat.root_system.plot to none |
Changed work issues from minor long test failure to none |
comment:21
Hi Travis, The updated patch fixes the doc so that later on doctests won't be All long tests passed. Here is the metadiff:
|
comment:22
Looks good to me. Thanks Nicolas. |
comment:23
The PDF documentation doesn't build:
|
Attachment: trac_4327-root_system_plot_refactor-nt.patch.gz |
comment:24
Replying to @jdemeyer:
Ah shoot, sorry about that. The docstrings for this method was missing its starting 'r', and which caused a The newly updated patch fixes this. While I was at it, it fixes half a dozen other missing 'r' in other methods introduced by this patch. Since the change is trivial, I am allowing myself to put it back to positive review. For the record, here is the diff between the two patches:
|
comment:26
Replying to @nthiery:
Assuming that you checked that the PDF documentation does build, that's okay. |
comment:27
Replying to @jdemeyer:
Yup, I did. Well at least for reference/combinat. |
comment:28
|
comment:29
Never mind, last doctest failure is because of #13735. |
Merged: sage-5.10.beta4 |
comment:31
Yippee! Thanks Nicolas, Travis, and everyone who contributed to get this done! |
comment:32
The |
The attached patch refactors in depth the root sytem plotting facilities of Sage.
In particular it contains all the features provided in MuPAD-Combinat and many more.
Some of those features came up during discussions with Reda Chaibi, Arthur Lubovski and Christopher Hanusa. Thanks to them!
See: http://wiki.sagemath.org/combinat/CoolPictures?action=AttachFile&do=get&target=root-system-plots.pdf for a (slightly outdated) version of the enclosed tutorial with all the pictures shown.
Depends on #14175
Depends on #14176
Depends on #14177
Depends on #2023
CC: @sagetrac-sage-combinat @sagetrac-alubovsky
Component: combinatorics
Author: Nicolas Borie, Nicolas M. Thiéry
Reviewer: Nicolas M. Thiéry, Nicolas Borie, Travis Scrimshaw
Merged: sage-5.10.beta4
Issue created by migration from https://trac.sagemath.org/ticket/4327
The text was updated successfully, but these errors were encountered: