danr / matplotkitty

show matplotlib plots directly in your kitty terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matplotkitty

Fork of matplotlib-backend-kitty, released under CC0, by @jktr.

Installation

pip install .
export MPLBACKEND=module://matplotkitty; export MPLBACKEND_KITTY_SIZING=manual

Test

export MPLBACKEND=module://matplotkitty; export MPLBACKEND_KITTY_SIZING=manual
python -c 'import pandas as pd; import matplotlib.pyplot as plt; pd.DataFrame(range(10)).plot.line(); plt.show()'

Or use with an interactive python:

export MPLBACKEND=module://matplotkitty; export MPLBACKEND_KITTY_SIZING=manual
python -i -c 'import pandas as pd; pd.DataFrame(range(10)).plot.line()'

About

show matplotlib plots directly in your kitty terminal

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%