Metadata-Version: 2.4
Name: pyplotsixel
Version: 0.3.0
Summary: Matplotlib sixel backend
Home-page: https://github.com/nakagami/pyplotsixel
Author: Hajime Nakagami
Author-email: nakagami@gmail.com
License: BSD
Keywords: matplotlib,sixel
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: summary

==================
pyplotsixel
==================

Matplotlib sixel backend.

It can draw matplotlib figures in SIXEL available terminal.

Install
-----------------

::

   pip install matplotlib
   pip install pyplotsixel


Example
-----------------

Add a `matplotlib.use()` line as follows.

::

   import matplotlib
   import matplotlib.pyplot as plt
   import numpy as np

   matplotlib.use('module://pyplotsixel')


   x = np.linspace(0, 1)
   y = x**2
   plt.plot(x, y)
   plt.show();

.. image :: https://github.com/nakagami/pyplotsixel/raw/master/screenshot.png

Configuration
-----------------

In the `matplotlibrc <https://matplotlib.org/stable/users/explain/customizing.html#the-matplotlibrc-file>`_ ,
if you wrote backend configuration
::

   backend: module://pyplotsixel

you can omit additional `matplotlib.use()` line.
