Refactor plot helper function

Cleans up the parsing of the `setplot` argument and adds more uniform
behavior with the `plot_kargs` argument.
Merge pull request #361 from mandli/refactor-plot-func

Refactor plot helper function