ipython-notebook

How do I increase the cell width of the Jupyter/ipython notebook in my browser?

╄→尐↘猪︶ㄣ 提交于 2019-11-26 02:59:28
问题 I would like to increase the width of the ipython notebook in my browser. I have a high-resolution screen, and I would like to expand the cell width/size to make use of this extra space. Thanks! edit: 5/2017 I now use jupyterthemes: https://github.com/dunovank/jupyter-themes and this command: jt -t oceans16 -f roboto -fs 12 -cellw 100% which sets the width to 100% with a nice theme. 回答1: If you don't want to change your default settings, and you only want to change the width of the current

How do I add python3 kernel to jupyter (IPython)

无人久伴 提交于 2019-11-26 01:48:08
问题 My Jupyter notebooks installed with python 2 kernel. I do not understand why. I might have messed something up when I did the install. I already have python 3 installed. How can I add it to Jupyter ? Here\'s a screenshot of what the default Jupyter insalled with python3 -m install jupyter and opened in the browser with jupyter notebook looks like: 回答1: This worked for me on Ubuntu 16.04: python2 -m pip install ipykernel python2 -m ipykernel install --user python3 -m pip install ipykernel

IPython Notebook locale error [duplicate]

喜你入骨 提交于 2019-11-25 22:58:27
问题 This question already has answers here : Pelican 3.3 pelican-quickstart error “ValueError: unknown locale: UTF-8” (6 answers) Closed 3 years ago . After installing the latest Mac OSX 64-bit Anaconda Python distribution, I keep getting a ValueError when trying to start the IPython Notebook. Starting ipython works fine: 3-millerc-~:ipython Python 2.7.3 |Anaconda 1.4.0 (x86_64)| (default, Feb 25 2013, 18:45:56) Type \"copyright\", \"credits\" or \"license\" for more information. IPython 0.13.1 -

Using both Python 2.x and Python 3.x in IPython Notebook

北慕城南 提交于 2019-11-25 22:08:35
问题 I use IPython notebooks and would like to be able to select to create a 2.x or 3.x python notebook in IPython. I initially had Anaconda. With Anaconda a global environment variable had to be changed to select what version of python you want and then IPython could be started. This is not what I was looking for so I uninstalled Anaconda and now have set up my own installation using MacPorts and PiP. It seems that I still have to use port select --set python <python version> to toggle between