How to use widgets to take inputs in Jupyter notebook with ruby - ruby

I am a rookie and trying to use Jupyter Notebook with ruby and I want to create an interactive notebook with widgets.
Something like this.(pic below)
This is easily achievable with ipywidgets in python. But I don't know how to do this with ruby.
I installed iRuby and all other necessary dependencies, started the notebook with iruby notebook.

Related

Problem with rendering math formulas in Jupyter Lab markdown

I need to study a Jupyter notebook for my university course. Back I saw this notebook with my GNU/Linux machine and everything was fine. But now, I'm using macOS 10.15.5 and I have problem with rendering some math formulas. I disabled all the extensions of the Firefox and even tried the Jupyter notebook with Safari, but result is the same.
Version of Jupyter-lab: 2.1.5
Version of Firefox: 78.0.1 (64-bit)
I think the problem is with the synatx, not the LaTeX rendering engine.

Will I lose all codes and files if I uninstall Pycharm and Python in macOS?

I am using the Pycharm platform for Python and Jupyter Notebook. So all my codes, files and packages are in Pycharm. Now I want to use TensorFlow and for that first, I have to uninstall Pycharm (I checked blogs and youtube, everybody is saying first uninstall everything like python, pycharm, etc). I am worried that all my files and codes would be lost.
Can someone guide me about this doubt? Will I lose everything if I uninstall Pycharm?
I am working on mac.
Thanks in Advance.

Spyder 4.01 and plotly 4.5.1 - Anaconda attempts downgrade of Spyder

i am attempting to install plotly 4.5.1 using the anaconda environment - conda install -c plotly plotly.
However i can see from the terminal that Anaconda attempts to downgrade Spyder back to v 3.3.6. See attached picture:
I would like to carry on using Spyder v4.0.1 but also need plotly. What is the best way to deal with this? I guess different anaconda environments, but then would that mean working in Spyder 3.3.6 to do my plotting?
PS: I also plan to install plotly-dash for dash board development. I suspect that this may also run into the same issue.
Thanks for the help in advance.
(Spyder maintainer here) We're trying to solve this problem with the Anaconda people right now. Hopefully it'll be fixed in the next days. In the meantime, please see this issue for possible solutions.

Jupyter notebook imports old version, despite updating sklearn

According to other posts, the problem is that I updated sklearn in the system terminal and not the terminal offered by the Jupyter interface.
It turns out that Windows does not support the terminal within Jupyter. So, how can I get sklearn 0.18 imported to a notebook?
Thanks!

IPython Notebooks - how to get INLINE command line option to work for images?

I'm using the SimpleCV framework with IPython notebooks under Windows Vista.
I can't get result images to be shown within the body of the notebook, they just appear in a separate pop-out window.
I'm running a batch file to fire up IPyhton and have tried the following with no success:
ipython notebook --pylab inline
ipython notebook --pylab=inline
SmartCV1.3 "Developer"
IPython 0.13.2
Windows Vista/Chrome 26
I would try to run from the develop branch versus the super pack, the pylab pass-through was not present in the 1.3 release (which is getting rather long in the tooth). Officially we don't support Windows Vista, and we don't test on it regularly since most of the core devs use OSX and Linux. We're actively looking for Windows developers to help us with testing on Windows (if you're interested). I suggest you try the simplecv help forum.

Resources