newGraph

mantidplot.newGraph(name=None, layers=1, rows=1, columns=1)

Create a graph window.

Args:
name: The name to give to the graph (if None, a unique name will be generated). layers: The number of plots (a.k.a. layers) to put in the graph window (default: 1). rows: The number of rows of to put in the graph window (default: 1). columns: The number of columns of to put in the graph window (default: 1).
Returns:
A handle to the created graph widget.