Skip to content Skip to sidebar Skip to footer

Unknownbackend: No Event Loop Integration For U'inline' When Enable Inline Matplotlib In Emacs Python Notebook

I am trying to enable the python notebook in emacs. I am following the instruction from this page: https://realpython.com/blog/python/emacs-the-best-python-editor/ When I tried to

Solution 1:

If you are running matplotlib on osx this helped resolve my problem:

  1. I upgraded to matplotlib-2.2.0 by now there is a new version 2.2.0
  2. Import matplotlib
  3. calling matplotlib.use('TkAgg') directly after the import of matplotlib.(comments
  4. importing pyplot
  5. call pyplot.plot().
  6. call %matplotlib osx

I had to call %matplotlib osx instead of %matplotlib inlineone of the comment mentiond it

After that it worked.

Post a Comment for "Unknownbackend: No Event Loop Integration For U'inline' When Enable Inline Matplotlib In Emacs Python Notebook"