-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
[needs more reviews] interact -- interactive functions in the notebook #2449
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
The two bundles below should apply cleanly against 2.10.3.rc3 and give everything
You can apply both as follows:
|
comment:6
To try out this code, just start up the sage notebook, create a worksheet, and type interact? |
comment:7
Here's an example that makes use of several of the different available widgets:
|
comment:10
Blows my mind. One suggestion is to have some builtin styles for an interact box. Also I noticed that there is an empty white area above a plot in an interact box. |
comment:11
Also I think type=blah should be added to all of the standard controls not just input_box. |
comment:12
Here is my attempt at being able to show what you are coloring in a plot:
(1) It would be nice if the box wasn't refreshed when I hit a button. |
comment:13
wow, looks very nice. just from looking at the screenshot: what about adding the current value and min/max next to the sliders? would be helpful to see the value of a slider directly. ex: [min] |-------V--| [max] cur. value |
comment:14
Hi, Thanks for all the comments above.
This is specifically listed as a post 1.0 enhancement in interact.py and
That doesn't make sense because input_box is the only control where
What box? I don't understand this at all.
Isn't that exactly what happens? |
comment:15
That should be a widget style option, which should be made |
Attachment: sage-2449-extra1.patch.gz Only apply this after #2451, or some of the doctest examples might be very slow. |
comment:16
The commentary for example one in the documentation says that a slider will be the control for the y variable, but I get a dropdown menu. I find the difference in font color and background between the interact box as a whole and the output area inside it annoying. I would like there to be a str type option for the other controls, so I don't see quote marks in say button names. |
This was #1322.
Implement something like Mathematica's manipulate.
http://sage.math.washington.edu/home/was/tmp/interact.png
There will be two patch bundles attached to this email; each a bundle that applies cleanly against sage-2.10.3.rc3. One against scripts and one against the main sage repo.
I will not put anything in the reference manual until this code has got some testing.
CC: @timothyclemans
Component: notebook
Issue created by migration from https://trac.sagemath.org/ticket/2449
The text was updated successfully, but these errors were encountered: