Marc Wouts
1 min readSep 9, 2018

--

Thanks Hari! I like your question, that’s an interesting point. Uninstalling is easy: you just have to remove the

c.NotebookApp.contents_manager_class="jupytext.TextFileContentsManager"

line in your .jupyter/jupyter_notebook_config.pyconfiguration file.

This is perfectly fine as long as you don’t reinstall Jupytext.

Now, if you change your mind and install Jupytext again, then your should also remove any alternative text representations of the notebook generated by Jupytext. Let me comment a bit more on this. When you pair a notebook to a text representation, the cell inputs are taken in the text notebook rather than in the traditional .ipynbnotebook. If for some reason (say, for instance, you had temporarily uninstalled Jupytext) the text representation is not up to date, then the notebook will show out of date inputs.

By the way: if you ever experience a notebook showing out of date inputs, the remedy is simple: close and halt the notebook (don’t save it!) and then, delete the out of date text file.

Following your question, I realize that we could use file timestamps to avoid any occurence of this. Follow the resolution of the corresponding issue on GitHub ! And thanks for asking.

--

--

Marc Wouts
Marc Wouts

Written by Marc Wouts

Author of Jupytext and ITables. I love maths, data visualization and programming in mixed languages

No responses yet