Refactor plot helper function

Cleans up the parsing of the `setplot` argument and adds more uniform
behavior with the `plot_kargs` argument.