Get a picture icon when I try to plot a histogram

I don’t use Jupyter, so somebody else might turn up and answer, but they will probably have an easier time doing so if you provide a Minimal Working Example: exactly what code do you run, what do you expect it to do, and how does the actual result differ from the expectation?

More information on how to ask an easily answerable question: Please read: make it easier to help you