(self)
return axes
Plot results.

        Returns
        -------
        axes : matplotlib axes object
Plot results.
Plot results .
def plot(self):
        """Plot results.

        Returns
        -------
        axes : matplotlib axes object
        """
        if self._analysis is None:
            raise RuntimeError("Analysis not yet conducted")

        num_rows = len(self['outputs'])
        if num_rows == 1:
            return self._analysis.plot()

        try:
            plt
        except:
            import matplotlib.pyplot as plt

        num_cols = 1
        fk = list(self._analysis.keys())[0]
        if isinstance(self._analysis[fk].to_df(), (list, tuple)):
            # have to divide by 2 to account for CI columns
            num_cols = len(self._analysis[fk]) // 2

        p_width = max(num_cols*3, 5)
        p_height = max(num_rows*3, 6)
        _, axes = plt.subplots(num_rows, num_cols, sharey=True,
                               figsize=(p_width, p_height))
        for res, ax in zip(self._analysis, axes):
            self._analysis[res].plot(ax=ax)

            try:
                ax[0].set_title(res)
            except TypeError:
                ax.set_title(res)

        plt.tight_layout()

        return axes
def plot ( self ) : if self . _analysis is None : raise RuntimeError ( "Analysis not yet conducted" ) num_rows = len ( self [ 'outputs' ] ) if num_rows == 1 : return self . _analysis . plot ( ) try : plt except : import matplotlib . pyplot as plt num_cols = 1 fk = list ( self . _analysis . keys ( ) ) [ 0 ] if isinstance ( self . _analysis [ fk ] . to_df ( ) , ( list , tuple ) ) : # have to divide by 2 to account for CI columns num_cols = len ( self . _analysis [ fk ] ) // 2 p_width = max ( num_cols * 3 , 5 ) p_height = max ( num_rows * 3 , 6 ) _ , axes = plt . subplots ( num_rows , num_cols , sharey = True , figsize = ( p_width , p_height ) ) for res , ax in zip ( self . _analysis , axes ) : self . _analysis [ res ] . plot ( ax = ax ) try : ax [ 0 ] . set_title ( res ) except TypeError : ax . set_title ( res ) plt . tight_layout ( ) return axes