Replies: 4 comments 4 replies
-
I agree that notebooks are a nice way to combine interactive code with text. But using version control directly with notebook files can be annoying, see here for details. That's why I refrain from putting notebooks directly into a GitHub repo. I do not know how this issue works out with Julia or Matlab notebooks. But as you said, it is easy to generate |
Beta Was this translation helpful? Give feedback.
-
I, too, cannot speak to matlab live scripts, but just FYI @rubiop, a pluto notebook is just a |
Beta Was this translation helpful? Give feedback.
-
For Matlab the framework is exactly the same as python. In one hand you have For example you can create your live script in the Long story short: we can do the same thing than in python and we will probably want to use the same workflow type PS: for now I am will only work if EDIT: during the double conversion |
Beta Was this translation helpful? Give feedback.
-
Not sure this is the right discussion, but I just wanted to publicly share a perspective on Jupytext-- both @rubiop and I have to translate examples from python to our respective bindings, and the jupytext-formatted scripts make it extremely nice for translation purposes, to the point that we both have written/are writing scripts to do that job for us. As we add more examples, we won't have to expend nearly as much effort translating to these languages if we have prebuilt scripts to translate (most) of the notebook for us. |
Beta Was this translation helpful? Give feedback.
-
I think we found a nice procedure to produce python notebooks and build them in the documentation. To do that we use
.py
created via files Jupytext. Those.py
files can be ran by anyone from the example folder but text is displayed as comments and we loose the cell interaction that we normally have in notebook.s I am curious to hear your thoughts but I think I will really like to have, in addition to the.py
files the equivalent in.ipynb
somewhere in git repo so we can link the modifiable notebooks in the documentation. Notebooks can easily be generated from.py
using Jupytext but I think it will be better if this additional conversion step is not left to do by the potential new MParT/transport map user.We also plan to have modifiable notebooks for Julia and Matlab so it might make sense to have the same in Python.
Let me know what you think about that.
If it make sense, there might be a way to automatically generate
.ipynb
files from.py
files by github actions when modifications are made on these files during PRs.Beta Was this translation helpful? Give feedback.
All reactions