triqs.gfs.plot.dispatcher

triqs.gfs.plot.dispatcher(g)[source]

Return the plot function in one_var matching g.mesh.

Parameters:
gGf

Green’s function being plotted.

Returns:
callable

f(g, opt_dict) -> list of dict returning per-curve plot data in the format expected by oplot().

Raises:
NotImplementedError

If g.mesh is a MeshProduct (multi-variable plots are not handled here).