timflow.steady.plots.PlotSteady.contour ======================================= .. py:method:: timflow.steady.plots.PlotSteady.contour(win, ngr=20, layers=0, levels=20, layout=True, labels=True, decimals=0, color=None, ax=None, figsize=None, legend=True, return_contours=False, **kwargs) Head contour plot. :param win: [xmin, xmax, ymin, ymax] :type win: list or tuple :param ngr: if scalar: number of grid points in x and y direction if tuple or list: nx, ny, number of grid points in x and y directions :type ngr: scalar, tuple or list :param layers: layers for which grid is returned :type layers: integer, list or array :param levels: levels that are contoured :type levels: integer or array (default 20) :param layout: plot layout of elements :type layout: boolean (default True) :param labels: print labels along contours :type labels: boolean (default True) :param decimals: number of decimals of labels along contours :type decimals: integer (default 0) :param color: color of contour lines :type color: str or list of strings :param ax: axes to plot on, default is None which creates a new figure :type ax: matplotlib.Axes :param figsize: size of figure :type figsize: tuple of 2 values (default is mpl default) :param legend: add legend to figure if list of strings: use strings as names in legend :type legend: list or boolean (default True) :param return_contours: if True, return list of contour sets for each contoured layer :type return_contours: bool, optional :returns: * **ax** (*matplotlib.Axes*) -- axes with plot * **cs** (*list*) -- of contour sets for each contoured layer, only if return_contours=True .. !! processed by numpydoc !!