/matplotlib-sixel

A sixel graphics backend for matplotlib

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Matplotlib-sixel backend

A matplotlib backend which outputs sixel graphics onto the terminal. The code is inspired by the ipython-notebook matplotlib backend.

./demo.png

Dependencies

Installation

pip install matplotlib-sixel

Configuration

the backend has to be altered. Either in your python session with:

import matplotlib
matplotlib.use('module://sixel')

or in your matplotlibrc file:

backend: module://sixel

To get the colors in the demo above, you can copy this matplotlibrc and make it your own.