rootpy/rootpy — pull request #100 by ndawe (2012-11-28 23:51:13+00:00)
Title: SetBatch(True) in rootpy.batch

Otherwise, with the new rootpy error handler, an error is emitted in a noninteractive environment (grid job) even when importing TCanvas:

https://gist.github.com/4165635