We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low Code UI
When you add commands to the low code UI, the python code should be injected into the next notebook cell from where the widget was embedded.
This code creates a new cell in a place related to the current cursor position
from IPython.core.getipython import get_ipython def create_new_cell(contents): shell = get_ipython() payload = dict( source='set_next_input', text=contents, replace=False, ) return shell.payload_manager.write_payload(payload, single=False)
https://discourse.jupyter.org/t/im-trying-to-figure-out-a-couple-of-cell-operations-from-python/29276
https://github.com/jtpio/ipylab jupyterlab/jupyterlab#13080 jupyterlab/jupyterlab#5789
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checks
How would you categorize this request. You can select multiple if not sure
Low Code UI
Enhancement Description
When you add commands to the low code UI, the python code should be injected into the next notebook cell from where the widget was embedded.
Pseudo Code Implementation
This code creates a new cell in a place related to the current cursor position
Prior Art
https://discourse.jupyter.org/t/im-trying-to-figure-out-a-couple-of-cell-operations-from-python/29276
https://github.com/jtpio/ipylab
jupyterlab/jupyterlab#13080
jupyterlab/jupyterlab#5789
The text was updated successfully, but these errors were encountered: