ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.22k stars 806 forks source link

Feature Request: run button for each cell toggle #1511

Open pdubz-sudo opened 4 years ago

pdubz-sudo commented 4 years ago

Would it be possible for somebody to make a run button toggle so we can add the run button to each cell without having to mess with the CSS? I think it was removed after jupyter notebook version 5.6

I would make the feature if I could but I don't know how.

cailiang9 commented 4 years ago

I change the display of Run button like in google colab. Code is here but did not merge into notebook master.

You can feel it by installing my version: pip install notebook1

pdubz-sudo commented 4 years ago

@cailiang9 Great thanks! I tried it and it works like I was talking about.

Would it be possible to add a toggle and just merge it to make it part of the nb_extensions library?

cailiang9 commented 4 years ago

the modification is intrusive to jupyter notebook, I think a simpler way is to merge it into jupyter notebook repo directly. But according to some earlier discussions, some people dislike the button. I don't how to implement it as a nb_extensions library. You are free to copy my implementation if needed :)

pdubz-sudo commented 4 years ago

Ok I understand in that case. Thanks for the fix :)