def draw(self):
        """
        Draws the alphas values against their associated error in a similar
        fashion to the AlphaSelection visualizer.
        """
        # Plot the alpha against the error
        self.ax.plot(self.alphas, self.errors, label=self.name.lower())

        # Draw a dashed vline at the alpha with maximal error
        alpha = self.alphas[np.where(self.errors == self.errors.max())][0]
        label = "$\\alpha_{{max}}={:0.3f}$".format(alpha)
        self.ax.axvline(alpha, color='k', linestyle='dashed', label=label)

        # Draw a dashed vline at the alpha with minimal error
        alpha = self.alphas[np.where(self.errors == self.errors.min())][0]
        label = "$\\alpha_{{min}}={:0.3f}$".format(alpha)
        self.ax.axvline(alpha, color='k', linestyle='dashed', label=label)

        return self.ax
def draw ( self ) : self . ax . plot ( self . alphas , self . errors , label = self . name . lower ( ) ) alpha = self . alphas [ np . where ( self . errors == self . errors . max ( ) ) ] [ 0 ] label = "$\\alpha_{{max}}={:0.3f}$" . format ( alpha ) self . ax . axvline ( alpha , color = 'k' , linestyle = 'dashed' , label = label ) alpha = self . alphas [ np . where ( self . errors == self . errors . min ( ) ) ] [ 0 ] label = "$\\alpha_{{min}}={:0.3f}$" . format ( alpha ) self . ax . axvline ( alpha , color = 'k' , linestyle = 'dashed' , label = label ) return self . ax
Draws the alphas values against their associated error in a similar
        fashion to the AlphaSelection visualizer.