Questions tagged [jupyter-extensions]

21 questions
0
votes
1 answer

IPython cell_magic access to cell id

We implemented an IPython extension using the @magics_class (and @line_magic and @cell_magic) annotations. It is working quite well for the most part, with one important limitation. @cell_magic only gets the cell contents as an argument, but we need…
Ozgur
  • 994
  • 7
  • 13
0
votes
0 answers

Voila is not executing any cell of jupyter notebook, just showing outputs already present in notebook

There are two steps voila performs while rendering a jupyter notebook. Voilà runs the code in the notebook and collects the outputs. The notebook and its outputs are converted to HTML. By default, the notebook code cells are hidden. In my case…
0
votes
1 answer

Why does `IPython.display.Javascript(...)` work to run a Javascript command in a Jupyter cell but not in an IPython magic?

I'm trying to write a Jupyter nbextension where the user can configure the notebook-wide extension behavior using IPython magics. I'm planning on siting the configuration data on the JS side, under an application-specific key in…
0
votes
0 answers

modifying main menu of jupyter lab

I'm trying to modify the main menu of jupyter lab through jupyterlab extension. What I want to do is to remove or collapse all tabs into one. As I didn't find any explanation on that I tried to follow a tutorial to work with menu tabs:…
0
votes
1 answer

Share complex React app/component between single-page app, VScode web extension and JupyterLab extension

I have built a complex single page web app using React (create-react-app PWA). (app, code) Now I want to reuse/share most of that app to make a VSCode web extension (CustomTextEditorProvider) and potentially a JupyterLab extension). What would be…
0
votes
0 answers

Can't install extensions for JupyterLab because Node.js and npm can't be found

I installed Jupyter Lab via pip on a windows machine. I installed Node.js via their website and used the wizard they provided. I verified Node.js and npm are install on my machine: Installed via pip, I can verify that flake8 extension is on my…
TER
  • 107
  • 6
1
2