Error in Pyroot tutorial

Dear developers,
I noticed a problem in the tutorial file
As can be seen on the online page (the macro is also found in the tutorials/hist folder of a ROOT install), the second plot (in red) is not drawn correctly:
(compare against the original twoscales.C version).
The issue is that the line


is missing after h1.Draw().
Also, a couple of “;” from the original are still in the Python version (“rightmax” and “scale” lines).

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Nice catch. I will look.

1 Like

PR here: [MERGED]
Your suggestions were the right ones.

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