jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

Does Jupyter provide functionality similar to Mathematica's Grid, Manipulate, and Animate? #396

Open JohnStone2017 opened 6 years ago

JohnStone2017 commented 6 years ago

Grid for printing formatted 2-dimensional tables. Supports mixing text, graphics, etc.; one cell can contain a plot while another cell in the same Grid contains a symbolic formula.

Manipulate provides for interactive use; e.g., if the user moves a slider, the value of a variable is updated and a plot redrawn to reflect the changed value.

Animate: like Manipulate, but the slider-motion is automated.

How can I duplicate these functions in Jupyter / IPython?

Thank you.

takluyver commented 6 years ago

Grid: not exactly, as far as I know, but it's possible to display HTML tables, so someone could piece this together.

Manipulate: see ipywidgets, particularly the interact function.

JohnStone2017 commented 6 years ago

Thanks for the info.

The Mathematica Grid functionality is nice. In Jupyter I have high quality graphics and latex rendering of math formulas I'm working with---which must have been a lot of work for developers, but putting them together into a neat table would look good. In Mathematica, this sort of visualization actually helped me notice relations I might not otherwise have noticed. I am not qualified to implement it in Jupyter though.