fixed bug in splot.  more pylint cleanup.