ipythonng is a small IPython extension for terminal sessions that adds:
text/markdownrendering with Richimage/pngrendering viakittytgp- matplotlib inline support
- Includes display objects, streams, and rich results in stored history
pip install ipythonngAdd the extension and enable output logging in your IPython config:
c.InteractiveShellApp.extensions = ["ipythonng"]
c.HistoryManager.db_log_output = True
c.InteractiveShellApp.exec_lines = ["%matplotlib inline"] # if you likeOr launch it ad hoc:
ipython --ext ipythonngFor matplotlib, %matplotlib inline works with the existing image/png renderer. No custom matplotlib backend is needed. Using exec_lines runs the magic after extensions load.
The package also installs an ipythonng command that simply starts IPython with
--ext ipythonng.