Disable "Events /0.5" in a plot

Hello,

I posted a message on the Roofit forum and I got no answer, so I am trying here. When I am plotting a dataset, I have automatically on the YAxis the title “Events /0.5 (GeV/c2)”, is it possible to disable it? because I found nothing in the user guide.

Thank you very much,

Pierre-Louis Pernet

Hello Pierre,

There is not standard way to prevent the addition of this label (I should add this) but it is easy to reset it empty (or anything else you like using)

frame->SetYTitle("")

after you’ve filled the frame.

Wouter

Hello,

Thank you, I did not think to this solution.

Pierre-Louis