JSROOT in ROOT kernel

Hello,

I am sorry if this was already asked before, but I did not find an obvious answer. I am not running python kernel in juypter, but I just start jupyter with “root --notebook” and then start a ROOT kernel. In this case, how do I enable JSROOT plotting ?

This example:

root.cern.ch/notebooks/HowTos/H … books.html

only seems to show it from python (“import ROOT” and “ROOT.enableJSVis()”). So, what is the equivalent command to enable it in a ROOT kernel session?

thanks,
Balint

Hi Balint,

jsroot graphics is available for the C++ Kernel only starting from version 6.07 included and via the usage of a “magic”.
For more details: root.cern.ch/how/how-use-root-notebook

Cheers,
Danilo

Hi Danilo,

thanks a lot! Alas, my version is 6.06, so I am eager to reinstall 6.07!

Cheers!

Balint