util/plotfig.py
def _plot_rectangle(frameloc, color='k', linewidth=1):
        """
        Plot rectangle as a supplementary method for plotmat.
        """
        length = frameloc[1] - frameloc[0]
        plt.plot(length*[frameloc[0]], np.arange(*frameloc), color=color, linewidth=linewidth)
        plt.plot(length*[frameloc[1]], np.arange(*frameloc), color=color, linewidth=linewidth)
        plt.plot(np.arange(*frameloc), length*[frameloc[0]], color=color, linewidth=linewidth)
        plt.plot(np.arange(*frameloc), length*[frameloc[1]], color=color, linewidth=linewidth)

        Plot rectangle as a supplementary method for plotmat.
        
Plot rectangle as a supplementary method for plotmat.
Plot rectangle as a supplementary method for plotmat .
def _plot_rectangle(frameloc, color='k', linewidth=1):
        length = frameloc[1] - frameloc[0]
        plt.plot(length*[frameloc[0]], np.arange(*frameloc), color=color, linewidth=linewidth)
        plt.plot(length*[frameloc[1]], np.arange(*frameloc), color=color, linewidth=linewidth)
        plt.plot(np.arange(*frameloc), length*[frameloc[0]], color=color, linewidth=linewidth)
        plt.plot(np.arange(*frameloc), length*[frameloc[1]], color=color, linewidth=linewidth)
def _plot_rectangle ( frameloc , color = 'k' , linewidth = 1 ) : length = frameloc [ 1 ] - frameloc [ 0 ] plt . plot ( length * [ frameloc [ 0 ] ] , np . arange ( * frameloc ) , color = color , linewidth = linewidth ) plt . plot ( length * [ frameloc [ 1 ] ] , np . arange ( * frameloc ) , color = color , linewidth = linewidth ) plt . plot ( np . arange ( * frameloc ) , length * [ frameloc [ 0 ] ] , color = color , linewidth = linewidth ) plt . plot ( np . arange ( * frameloc ) , length * [ frameloc [ 1 ] ] , color = color , linewidth = linewidth )
Plot rectangle as a supplementary method for plotmat.
Plot rectangle as a supplementary method for plotmat .
"""
        Plot rectangle as a supplementary method for plotmat.
        """
frameloc
color
linewidth