Plot objects
The function plot_noise
should have an option to return the figure (and perhaps) axes objects, for those of us who want to change the trace style and/or background color and/or font later. It is fine to call plt.gcf()
in the interpreter, but when running this function inside a script it's cleaner to just return the objects directly.
Do we want to always return the objects, or only return if the user passes a kwarg like return_fig_handle=True
?