mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
12 lines
207 B
Python
12 lines
207 B
Python
![]() |
"""Matplotlib xontribution."""
|
||
|
|
||
|
from xonsh.proc import foreground
|
||
|
|
||
|
@foreground
|
||
|
def _mpl(args, stdin=None):
|
||
|
"""Hooks to matplotlib"""
|
||
|
from xonsh.mplhooks import show
|
||
|
show()
|
||
|
|
||
|
|
||
|
aliases['mpl'] = _mpl
|