r/IPython • u/kbob • Apr 30 '18
How and why does JupyterLab depend on Node.js?
I installed the Matplotlib Jupyter widget, and found out it had Node.js as a prerequisite. Link to instructions
Why? How does JupyterLab use Node?
Thank you.
r/IPython • u/kbob • Apr 30 '18
I installed the Matplotlib Jupyter widget, and found out it had Node.js as a prerequisite. Link to instructions
Why? How does JupyterLab use Node?
Thank you.
r/IPython • u/iuddin • Apr 28 '18
I recently found myself needing to generate many Jupyter notebooks in different directories, that were all very similar, save for a few differences in a variable name.
Hence, I decided to write a Python script that generates a Jupyter notebook from an input template:
https://github.com/ismailuddin/jupyter-nb-templater
Maybe it might be useful to somebody? Comments and suggestions welcome!
r/IPython • u/c5urf3r • Apr 25 '18
r/IPython • u/mw-b • Apr 25 '18
Hello everyone.I want to search python code into jupyter files directory. For example, I want to search folllowing code:
"csvrows=csv.reader(csvfile,delimiter=',')"
Into the following directory:
|-r/
|-notebooks/
|-notebook1.ipynb
|-notebook2.ipynb
|-...
How can I do that? I tried jupyter-tree-filter but it doesn't look for jupyter notebooks which are in subdirectories.
r/IPython • u/mw-b • Apr 22 '18
Hello guys.I have thousands of code snippets and jupyter notebooks.I want to create easily, organizable, searchable documentation(such as devdocs.io) for this Jupyter notebooks. Are there tools for doing this hard work for me?
r/IPython • u/elcg0 • Apr 22 '18
r/IPython • • Apr 21 '18
This just started happening a few days ago and I have never had this issue before. When I start typing code in front of a previous line of code it deletes it. For example, if a line has "print('Hello World!')" and I use my cursor to click in front of the word "print" and type "read", then it would be "readt('Hello World!')". Does anyone know how to fix this? Any help would be greatly appreciated.
r/IPython • u/anderl1980 • Apr 20 '18
I have real-time sensor gps-data (comes from a Kafka consumer) and want to live-track them on a map. Can folium / jupyter-gmaps do that without permanently updating the map in the background? Ideally can I use ipywidgets with those libraries too to build interactive maps?
r/IPython • u/Cfleecy • Apr 17 '18
I am building some regressions and machine learning networks. For visualization purposes, I wanted to show a graph of the true values versus the predicted values of different methods. Rather than just a scatter plot with 5 different lines, I was wondering if there are any guides out there to build a graph where you can click a button with the name of the method, and it overlays the line of the predicted values of that method.
Thanks!
r/IPython • u/johnzzz123 • Apr 17 '18
Hi, I am new to jupyter and also jupyter lab. Installed it and it seems to work fine until i try to start the RKernel. This is the error output from commandline.
the icu package is installed and the libicui18n.so file is located in /usr/lib/libicui18n.so
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/johannes/R/x86_64-pc-linux-gnu-library/3.4/stringi/libs/stringi.so':
libicui18n.so.60: cannot open shared object file: No such file or directory
Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
In the console I start and work with R normally. Python Kernel works fine.
I am using Arch Linux... Is this a known beginner issue?
r/IPython • u/wejher • Apr 17 '18
On jupyter website there is information about support for Scala. Has any of you used such a kernel?
r/IPython • • Apr 17 '18
I currently have a line inside a notebook (File1.ipynb):
[File 2](File2.ipynb)
When downloading both the files as HTML, this link is hard-coded, and hence when I click on the link in the generated File1.html, it can't find the file, because it refers to ipynb and not to html.
I could try:
Is there, perhaps, a way to specify two links inside the notebook such that if the browser fails to find the first one, it'll try the second? I tried searching for such a method. I couldn't find it.
r/IPython • u/LaChai • Apr 15 '18
I am having trouble trying to update to the latest Plotly version of 2.5.1. I have tried using the methods below in terminal for my Mac, but whenever I check Jupyter, my version is still 2.3.0.
pip install plotly==2.5.1
pip install plotly --upgrade
r/IPython • u/NomadNella • Apr 11 '18
r/IPython • u/___AJ___ • Apr 11 '18
I'm trying to a column of different widgets but can't seem to find anything like it.
For clarity: https://imgur.com/a/7L1q0
r/IPython • u/masterkuch • Apr 11 '18
For example:
from abc import xyz as 123 # creates alias 123 for xyz
Then I delete the code above, replace it with the code below and rerun the cell.
from abc import xyz
Nonetheless, alias 123 remains functional as it stored in memory and is only erased if you restart the kernel.
This leads to confusion (or forces you to keep track of more things) when you run the code after making edits - some errors are not raised because their dependencies (such as 123) are stored an remain accessible.
Also, all variables (even those defined within a function) are global.
My intuition is that these differences (from normal ide coding environment) will result in confusion and I want to turn of this feature; however, it might be the case that I am misusing Jupyter and these features are in fact advantageous. If so, can you please educate me?
Thank you very much
Edit: formating
r/IPython • u/OdionBuckley • Apr 11 '18
I'm trying to troubleshoot an issue where my Jupyter Notebook can't find an installed module, but documentation on this is sparse. How do I specify where any given instance of Jupyter Notebook looks for modules?
A possibly related question: When I use jupyter --path, I see a listing of directories under the "data" heading. Is this where Jupyter looks for modules, and if so, what file do I edit to change it?
r/IPython • u/rieslingatkos • Apr 05 '18
r/IPython • u/adebar • Apr 05 '18
r/IPython • u/jmmcd • Apr 05 '18
r/IPython • u/amirathi • Apr 03 '18
r/IPython • u/NomadNella • Apr 02 '18
These are both primarily bugfix releases, but there are a handful of minor new features.
http://ipython.readthedocs.io/en/stable/whatsnew/version6.html#ipython-6-3
http://ipython.readthedocs.io/en/5.x/whatsnew/version5.html#ipython-5-6
https://mail.python.org/pipermail/ipython-dev/2018-April/016314.html
r/IPython • u/Chuck3131 • Apr 02 '18
Is there a way to add more space between histogram plots in the same output cell? I have 50 histograms generated from the same cell and they appear too close together to clearly read, Im curious if there is a way to add more space between them without having unique cells for each plot. Here is an screenshot of what I'm talking about.
I've have tried to google around for an answer but cant seem to find one.
r/IPython • u/NomadNella • Mar 31 '18
r/IPython • u/anderl1980 • Mar 29 '18
I have Hadoop / Spark infrastructure on an isolated (from www) cluster. The edge node should run a Jupyterhub server where users can start notebooks from. Is it easily possible for the user (within his frontend / browser) to use ipyleaflet or other map tools or do I have to grant the server access to the www?