17
$\begingroup$

Shortly

One can connect Wolfram Engine / Kernel to the Jupyter notebook thanks to github / WRI / WLforJ and following manuals: How to add a front-end to the free Wolfram Engine?

Can I rotate Graphics3D @ Sphere[] generated in Jupyter notebook interface?

Background

The question was raised here. I assumed the answer is no. But while looking for an answer to TraditionalForm-like typesetting in Jupyter notebook I found a nice feature.

$\endgroup$
  • 1
    $\begingroup$ How do you do it without cloud I am using wolfram engine $\endgroup$ – Code Bulletin Aug 15 at 17:05
19
$\begingroup$

Wolfram Kernel <-> Jupyter loop related definitions can be read from files in

https://github.com/WolframResearch/WolframLanguageForJupyter

One can learn that within a loop a special wrapper is defined: Interact.

When connected to the Wolfram Cloud, input that is wrapped with Interact will be deployed to the Cloud and embedded in the jupyter notebook:

enter image description here

| improve this answer | |
$\endgroup$
  • $\begingroup$ Very cool! I only recently learned that this could be possible, but I didn't expect someone to implement it this quickly. Kudos! $\endgroup$ – Sjoerd Smit Jun 5 '19 at 7:33
  • $\begingroup$ @SjoerdSmit I didn't implement it :P I just found it :) $\endgroup$ – Kuba Jun 5 '19 at 7:35
  • $\begingroup$ Kudos for finding it :P. $\endgroup$ – Sjoerd Smit Jun 5 '19 at 8:13
  • $\begingroup$ Strange, this didn't work for me. Do you have to enable something? $\endgroup$ – Davi Barreira Sep 15 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.