Questions tagged [jupyter]

Jupyter Notebook is a web-based interactive computational environment for creating Jupyter notebook documents, which contain both code and rich text elements such as text, equations, figures.

Jupyter Notebook is a web-based interactive computational environment for creating Jupyter notebook documents, which contain both code and rich text elements such as text, equations, figures.

Use this tag for questions questions about using in the Jupyter terminal and environment.

24 questions
15
votes
2 answers

Integrating jupyter notebook (ipython) into org-mode notebook

is there a way I can link in jupyter notebooks (ipython) into the org-mode notebook? The same way other files (images) can be brought in? If it is possible will the outputs are also seen in the note (and inputs are runnable?), or only code itself? A…
Curtis
  • 251
  • 2
  • 4
5
votes
2 answers

Opening and reading a jupyter notebook file

I would like to be able to read a jupyter notebook without actually having a jupyter kernel, in Emacs. For instance, having a file example.ipynb, I would like to be able to open that file with Emacs, and make it render it with basic formatting, as…
jthulhu
  • 205
  • 1
  • 8
3
votes
1 answer

ob-ipython error message while evaluating SRC block

I am getting this error when executing any source ipython block such as this one: #+BEGIN_SRC ipython :session :results output drawer # Compute areas and colors import numpy as np import matplotlib.pyplot as plt N = 150 r = 2 *…
2
votes
0 answers

Jupyter-like setup with org-babel in spacemacs

I've been trying to switch my data-analysis workflow from Jupyter lab/notebook to org-mode + org-babel for quite a while. I'm looking for an emacs setup that will provide all the functionalities of jupyter (code completion, inline docs, easy code…
J.Doe
  • 27
  • 3
2
votes
1 answer

Jupyter notebook, matplotlib visualization not showing up

I am a new Emacs user and proceeded to the install following the tutorial at: https://realpython.com/emacs-the-best-python-editor/#integration-with-jupyter-and-ipython. Now I am running a Jupyter Notebook, again as described in the link above, but I…
Nre
  • 143
  • 5
2
votes
2 answers

Is there a way to show python generated plots in the python interpreter console?

I use emacs for most python programming, but really miss the inline plot feature combined with printed output in Spyder. See picture. I've been experimenting with various interpreter settings but none seem to work: (use-package python :config …
2
votes
1 answer

run Emacs remotely in a webpage?

I am just curious: Is there a way to run Emacs remotely from a webpage? For example, one can set up a JupyterHub on a Ubuntu server so that many users can access server programs from a webpage. Can emacs be set up on a central server and accessed…
tinlyx
  • 1,276
  • 1
  • 12
  • 27
2
votes
0 answers

flycheck - elpy - flake8 - ein and .ipynb files

I have set up Emacs (on Mac Catalina) with Elpy to handle Python. I also managed to get Jupyter notebooks (.ipynb files) working with Elpy via Ein. Both .py and .ipynb compile and use Flycheck correctly. I have problems with .ipynb notebooks: I…
alpresci
  • 21
  • 3
2
votes
1 answer

EIN : Width of output cells in notebook

I'm using ein to view and work with Jupyter Notebooks. I'd like to be able to set the cell width to that of the window so that text wraps as little as possible. In a browser this can be done with... from IPython.core.display import display,…
slackline
  • 293
  • 3
  • 14
1
vote
0 answers

How to remove results drawer from emacs jupyter?

I am using emacs-jupyter (commit - 16cbda79167b4e2f2c6b61b218658f0f660d97f9 [otherwise I get an error]) on emacs-29.1 and org-9.7pre. My default header arguments are... org-babel-default-header-args:jupyter-python => ((:display . "plain") …
user41177
  • 11
  • 1
1
vote
1 answer

emacs-jupyter result of an org-babel source block displayed as hash

When I execute a jupyter source block in org-mode, I get a hash instead of the result For instance, I get #+begin_src jupyter-python :session sess :async yes print("haha") #+end_src #+RESULTS: : 0 - c29485e4-fa6a-459d-84a1-cb1aa0c42907 emacs tells…
TMat
  • 95
  • 9
1
vote
0 answers

emacs 26 orgmode on win10 can not find jupyter

I am using emacs26(GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)) on win10. I can run jupyter command from shell. but when I run below code: #+BEGIN_SRC ipython :session test :results output print("tester") #+END_SRC error happen: Searching for…
lucky1928
  • 1,622
  • 8
  • 28
1
vote
0 answers

Shift key does not fully work in Juypter Notebook's terminal

The Shift key sometimes does not seem to work in emacs, when emacs is launched in Jupyter Notebook's terminal (in non-window mode). Other meta keys such as Ctrl and Alt on a PC keyboard work as usual. When trying to move to the end of the buffer…
tinlyx
  • 1,276
  • 1
  • 12
  • 27
1
vote
1 answer

org-mode backend: how to find tags of enclosing headline?

I am trying to write on org-mode backend to generate Jupyter Notebook, specifically optimized for producing slides using RISE (see https://github.com/hkarl/org-juslides if interested). Suppose I have a src-code block. How can I find out the tags of…
0
votes
1 answer

async/await in emacs?

I'm trying to run a hook that should start after buffers are loaded - it hooks into ein package that starts an "ipython server" that takes some time to start and it seems that the subsequent functions don't "await" for it. Which makes me wonder if…
1
2