addFolder

mantidplot.addFolder(name, parentFolder=None)

Create a new folder.

Args:
name: The name of the folder to create. parentFolder: If given, make the new folder a subfolder of this one.
Returns:
A handle to the newly created folder.