xonsh/xontrib/mpl.py
Jamie Bliss 1fb5ee1757 flake8
2016-08-04 22:28:21 -04:00

15 lines
237 B
Python

"""Matplotlib xontribution."""
from xonsh.proc import foreground as foreground
__all__ = ()
@foreground
def mpl(args, stdin=None):
"""Hooks to matplotlib"""
from xontrib.mplhooks import show
show()
aliases['mpl'] = mpl