def plot(self, title=None, **kwargs):
if not plt:<EOL><INDENT>raise ImportError("<STR_LIT>")<EOL><DEDENT>self.guess_plot_columns()<EOL>self.x = self.x or range(len(self.ys[<NUM_LIT:0>]))<EOL>coords = reduce(operator.add, [(self.x, y) for y in self.ys])<EOL>plot = plt.plot(*coords, **kwargs)<EOL>if hasattr(self.x, '<STR_LIT:name>'):<EOL><INDENT>plt.xlabel(self.x.name)<EOL><DEDENT>ylabel = "<STR_LIT:U+002CU+0020>".join(y.name for y in self.ys)<EOL>plt.title(title or ylabel)<EOL>plt.ylabel(ylabel)<EOL>return plot<EOL>
Generates a pylab plot from the result set.

        ``matplotlib`` must be installed, and in an
        IPython Notebook, inlining must be on::

            %%matplotlib inline

        The first and last columns are taken as the X and Y
        values.  Any columns between are ignored.

        :param title: plot title, defaults to names of Y value columns

        Any additional keyword arguments will be passsed
        through to ``matplotlib.pylab.plot``.