Plotting ```mvaeffs``` in PyROOT (without calling TMVAGui)

As stated in the topic, is there any possible way to this ? I just want to pull out the optimal cut value for the classifier…

I have tried something like this (without luck, the ipynb kernel just restarted automatically)

dataset = r.TString("dataset")
Fin = r.TString("/results/TrainingResult.root")
r.TMVA.mvaeffs(dataset,Fin, 1000, 1000, useTMVAStyle = r.kTRUE, formula = "S/sqrt(S+B)")```
___
_ROOT Version: 6.24 (PyROOT via conda)
_Platform:Centos7
_Compiler: gcc9
___

@moneta should be able to help you with that.