triqs.plot.mpl_interface
Matplotlib front-end for the TRIQS plot protocol.
This module exposes oplot(), a thin wrapper around
matplotlib.pyplot.plot that consumes the protocol defined in
triqs.plot.protocol. Any object implementing _plot_ (or
registered in plot_function_table), as
well as plain numpy arrays, callables and iterables of (x, y)
pairs, can be passed directly to oplot().
matplotlib.pyplot is re-exported as plt and
matplotlib.pyplot.subplots as subplots for convenience.
The legacy helpers oplotr(), oploti() and
matplotlib.axes.Axes.oplot are deprecated and emit
FutureWarning.
Functions
|
Plot a protocol-aware object onto a matplotlib axes. |
|
Plot the imaginary part of |
|
Plot the real part of |
Configure matplotlib to render math labels with LaTeX + |