Rešitev, ki mi je pomagala je, da sem namesto enkratnega klica "%matplotlib notebook" klic naredimo dvakrat:
%matplotlib notebook%matplotlib notebook
%matplotlib notebook
Več tukaj:
https://stackoverflow.com/questions/41125690/matplotlib-notebook-showing-a-blank-histogram
Tukaj še prikaz funkcionalnosti: