gPad access from Python script

Does anybody knows how to get working something like
gPad.SetGridx() in a pyhton script?


sorry, I hadn’t seen your message because of the holidays, and only found it now that I
did a search on all PyROOT items.

gPad is a special case, as I hadn’t realised before that it is a C++ macro rather than
a global variable. This was only fixed end of October last year, so I presume that you run
an older version of ROOT? Which version are you running ? There may be a workaround.