def draw(self):
        """
        Draws the feature correlation to dependent variable, called from fit.
        """
        pos = np.arange(self.scores_.shape[0]) + 0.5

        self.ax.barh(pos, self.scores_)

        # Set the labels for the bars
        self.ax.set_yticks(pos)
        self.ax.set_yticklabels(self.features_)

        return self.ax
def draw ( self ) : pos = np . arange ( self . scores_ . shape [ 0 ] ) + 0.5 self . ax . barh ( pos , self . scores_ ) self . ax . set_yticks ( pos ) self . ax . set_yticklabels ( self . features_ ) return self . ax
Draws the feature correlation to dependent variable, called from fit.