Histogram not updating on mac

I am trying to plot a histogram as an animation using an interactive macro that updates the canvas every 100 events. The code runs fine on linux, but not on my mac laptop. I only get the canvas at the end, and I cannot see the intermediate updates. Does anyone know what I may need to do make this work on a mac? I am using ROOT 6.04/12.

Thanks a lot,

On Mac with the Cocoa backend you need to do:


Thanks a lot! This solves the issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.