Make sure setplot_func variable always gets defined.
Merge pull request #464 from ketch/define_setplot_func

Make sure setplot_func variable always gets defined.