Skip to main content
9 votes

Integrating jupyter notebook (ipython) into org-mode notebook

Nathaniel Nicandro has recently released his emacs package jupyter to further integrate org-mode with jupyter. As mentioned in the readme: emacs-jupyter extends the features of ob-ipython by ...
prash's user avatar
  • 200
4 votes
Accepted

Opening and reading a jupyter notebook file

SECOND EDIT Easiest answer is in the comments, but I think the code example in the FIRST EDIT is very much worth it to check out also. FIRST EDIT To 'demonstrate' that you could convert the file with ...
dalanicolai's user avatar
  • 7,865
3 votes

EIN : Width of output cells in notebook

Pandas is sufficient, try: pd.set_option("display.width", 120)
Dusan's user avatar
  • 31
2 votes

Integrating jupyter notebook (ipython) into org-mode notebook

Check out ob-ipython: An Emacs library that allows Org mode to evaluate code blocks using a Jupyter kernel (Python by default), it might be what you are looking for. Run code on remote ipython kernels ...
user3496846's user avatar
2 votes

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

You may wanna checkout ein. Also, spacemacs has a ipython-notebook layer setup based on that; perhaps you can use that as a reference for your own config.
TerryTsao's user avatar
  • 1,216
2 votes
Accepted

run Emacs remotely in a webpage?

The Spacemacs folks did it for some time on their homepage using Docker and Xpra, this thread explains the details: https://github.com/syl20bnr/spacemacs/issues/8634
wasamasa's user avatar
  • 22.2k
2 votes

Opening and reading a jupyter notebook file

Besides pandoc, which can now even round-trip convert ipynb to org, there is also code-cells that will automatically open ipynb as a py text file via jupytext. The second solution is useful for ...
George Moutsopoulos's user avatar
1 vote

async/await in emacs?

Buffers don’t have a “ready” state, and don’t take time to load. You’re not waiting on the buffer, you are waiting for some Jupyter process to start up and accept the connection from ein. ein already ...
db48x's user avatar
  • 18.3k
1 vote

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

I finally solved it. I had an old ob-ipython and configuration in my init.el and ob-ipython was still loaded which seemed to cause the error.
TMat's user avatar
  • 95
1 vote
Accepted

DIsplay pandas dataframe (from source block output) inside an org-mode buffer

I guess this is close to what you want. I was a little lazy, here is an html2image package in python. you could also do this with wkhtmltoimage #+BEGIN_SRC sh pip install html2image #+END_SRC here is ...
John Kitchin's user avatar
  • 11.9k
1 vote

elpy - package import fails when jupyter notebook is in the same directory

Based on a quick skim through the bug report, this is a regression in jupyter-client version 7.0. Downgrading to jupyter-client 6.1.x is the proper solution, until a new release of 7.0 includes the ...
db48x's user avatar
  • 18.3k
1 vote
Accepted

Jupyter notebook, matplotlib visualization not showing up

You should M-x customize RET and look for "mailcap mime". Navigate to "Mailcap User Mime Data". INS new entry. Clock in Choice:Value Menu and choose Shell command. type in Choice ...
BuddhiLW's user avatar
  • 297
1 vote

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

Yes, use emacs-jupyter. Try installing with M-x package-install jupyter (it's in Melpa) or follow the instructions on the Github. Then configure it to put output (such as plots) into the REPL buffer ...
ohrkzt's user avatar
  • 11
1 vote

Elisp to get the language mode for the current ein cell?

Unfortunately, it seems like things don't quite work the way you would like them to. ein:notebook-multilang-mode is simply a major mode. That means a lot of things, but here it basically defines ...
Lorem Ipsum's user avatar
  • 4,517
1 vote

ob-ipython error message while evaluating SRC block

On my system, this error happens because my jupyter installation is based on python3, while python-shell-interpreter in emacs is python. This can be fixed by running M-S-: (setq python-shell-...
suyashbire1's user avatar
1 vote

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

Solved by rasmus, with kudos: (org-export-get-tags (org-export-get-parent-headline src-block) info '("invalid" "tags") t) (or, in detail, to also consider the option to use an attribute in the src-...
Holger Karl's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible