Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I build a GUI to use inside a jupyter notebook?

The idea is to be able to build and use the GUI inside the notebook, so working with a long function that has a lot of parameters is more efficient than just typing the characters in the notebook.

Obviously not specifics, but if someone can point some library, project, links or any resources that might help.

like image 690
hernanavella Avatar asked Mar 09 '17 04:03

hernanavella


People also ask

Can I create GUI in Jupyter Notebook?

Practical Data Science using PythonTkinter is a Python library used for creating and developing GUI-based applications. It is completely open-source which works on Windows, Mac, Linux, and Ubuntu. In Windows operating system, we can install the Tkinter library using the command pip install tkinter.

How do I make a dashboard in Jupyter Notebook?

Create a new Jupyter notebook document in a language of your choice. Insert markdown and code into the notebook. Run the cells to generate text, plots, widgets, etc. Select either Grid Layout or Report Layout in the Dashboard View toolbar.

Can Jupyter Notebook be used as an IDE?

Jupyter Notebook provides you with an easy-to-use, interactive data science environment across many programming languages that doesn't only work as an IDE, but also as a presentation or education tool. It's perfect for those who are just starting out with data science!


2 Answers

I have looked all over internet. So far nothing. There's a message board in PyData where some developer states that jupyter doesn't support GUI.

Aside from that, I was thinking perhaps working with Bokeh might work.

Another option perhaps to explore is using these widgets.

See picture: enter image description here

like image 52
hernanavella Avatar answered Oct 17 '22 09:10

hernanavella


Consider using ipywidgets.

https://bretahajek.com/2017/02/widgets-jupyter-ipwigdets/

Image Source: https://bretahajek.com/2017/02/widgets-jupyter-ipwigdets/

like image 24
user2514157 Avatar answered Oct 17 '22 09:10

user2514157