def save_plot(repr, path, name="figure.pdf", title="features"):
    # TODO : Maybe run a PCA if shape[1] > 3
    assert repr.get_value(borrow=True).shape[1] == 3

    # Take the first 3 columns
    x, y, z = repr.get_value(borrow=True).T
    do_3d_scatter(x, y, z)

    # Save the produces figure
    filename = os.path.join(path, name)
    pyplot.savefig(filename, format="pdf")
    logger.info('... figure saved: {0}'.format(filename))

##################################################
# Features or examples filtering
##################################################
.. todo::
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/utils/datasets.py/save_plot