function to reset plotting module state
add docstring and rename to reset_output
add unit test for reset_output
Merge pull request #837 from ContinuumIO/feature/plotting_reset

Feature/plotting reset