docstring should have a working example that displays a plot in the docs