Remove plotter from doctest and use comparison to np.histogram instead