In [1]:
%jsroot on
TCanvas c;
TH1F *h=new TH1F("h","h",10,0,10);
h->Fill(3);
h->Draw();
c.Draw();
In [ ]: