Refactor plot helper function

Cleans up the parsing of the `setplot` argument and adds more uniform behavior with the `plot_kargs` argument.

@ketch can you make sure that I did not break your recent patch assuring the plotdata object is created?