TTTT Analysis
0.1
|
Functions | |
def | canvas (name="icanvas", size=(800, 600)) |
def | _display_canvas (canvas) |
def | _display_any (obj) |
Variables | |
png_formatter = get_ipython().display_formatter.formatters['image/png'] | |
Helper module for displaying ROOT canvases in ipython notebooks Usage example: # Save this file as rootnotes.py to your working directory. import rootnotes c1 = rootnotes.canvas() fun1 = TF1( 'fun1', 'abs(sin(x)/x)', 0, 10) c1.SetGridx() c1.SetGridy() fun1.Draw() c1 More examples: http://mazurov.github.io/webfest2013/ @author alexander.mazurov@cern.ch @author andrey.ustyuzhanin@cern.ch @date 2013-08-09
def canvas_wrapper.canvas | ( | name = "icanvas" , |
|
size = (800, 600) |
|||
) |
Helper method for creating canvas