pastas.plotting.modelcompare.CompareModels.plot_contribution ============================================================ .. py:method:: pastas.plotting.modelcompare.CompareModels.plot_contribution(smdict: dict[int, list[str]] | None = None, axn: str = 'con{i}', normalized: bool = False) -> None plot stressmodel contributions. :param smdict: Dictionary with integers (index) as keys and list of stressmodel names as values that have to be in each subplot. For example, `{0: ['prec', 'evap'], 1: ['rech']}` where stressmodels 'prec' and 'evap' are plotted in the first contribution window and 'rech' in the second. By default, None, which creates a separate subplot for each stressmodel. :type smdict: dict, optional :param axn: name of labeled axes to plot the contributions to, by default "con{i}". If smdict is not None, keys of that dictionary are used to fill in axes label, e.g. key 0 indicates the contributions will be plotted on axes with label 'con0'. Otherwise, each contribution will be plotted on a separate subplot (i.e. 'con0', 'con1', ...). :type axn: str, optional :param normalized: normalize contributions with min/max depending on mean value, by default False. :type normalized: bool, optional .. !! processed by numpydoc !!