JSROOT THStack

Hello,

I am using ROOT Jupyter notebook, and just tried the

%jsroot on

magick to turn on the JSROOT service inside a ROOT C++ session. It plots
nicely and interactively the histograms, etc., but for some reason plotting a THStack
doesn’t seem to work in jupyter. With JSROOT off:

%jsroot off

the THStack is plotted OK. But with ON, there is nothing in the plot.

See attached pdf printout of the jupyter session from my browser.

Maybe I am missing something?

Thanks,
Balint
THStackTest.pdf (96.3 KB)

Hi,

Weird, JSROOT itself works just fine with THStack. See your example and also one from the ROOT tutorials

Cheers, Bertrand.

P.S. This should now be fixed.

Cheers, Bertrand.

Hi,

to add a small note: Bertrand fixed it and since jsroot is centrally deployed, the plots you created in your notebook should now appear in the browser transparently :slight_smile:

Cheers,
Danilo

Thanks a lot, guys!
(For some reason I did not receive a notification about these answers and that it was solved).
Cheers, B