def finalize(self, **kwargs):
        """
        Finalize executes any subclass-specific axes finalization steps.
        The user calls poof and poof calls finalize.

        Parameters
        ----------
        kwargs: generic keyword arguments.

        """
        # Set the title
        self.set_title(
            'Parallel Coordinates for {} Features'.format(len(self.features_))
        )

        # Add the vertical lines
        # TODO: Make an independent function for override!
        if self.show_vlines:
            for idx in self._increments:
                self.ax.axvline(idx, **self.vlines_kwds)

        # Set the limits
        self.ax.set_xticks(self._increments)
        self.ax.set_xticklabels(self.features_)
        self.ax.set_xlim(self._increments[0], self._increments[-1])

        # Add the legend sorting classes by name
        labels = sorted(list(self._colors.keys()))
        colors = [self._colors[lbl] for lbl in labels]
        manual_legend(self, labels, colors, loc='best', frameon=True)

        # Add the grid view
        self.ax.grid()
def finalize ( self , ** kwargs ) : self . set_title ( 'Parallel Coordinates for {} Features' . format ( len ( self . features_ ) ) ) if self . show_vlines : for idx in self . _increments : self . ax . axvline ( idx , ** self . vlines_kwds ) self . ax . set_xticks ( self . _increments ) self . ax . set_xticklabels ( self . features_ ) self . ax . set_xlim ( self . _increments [ 0 ] , self . _increments [ - 1 ] ) labels = sorted ( list ( self . _colors . keys ( ) ) ) colors = [ self . _colors [ lbl ] for lbl in labels ] manual_legend ( self , labels , colors , loc = 'best' , frameon = True ) self . ax . grid ( )
Finalize executes any subclass-specific axes finalization steps.
        The user calls poof and poof calls finalize.

        Parameters
        ----------
        kwargs: generic keyword arguments.