Description
This function will shut down this pgplotmanager tool. If
the tool has the sole reference to its pgplot agent, the agent's
device will be closed. For widget devices, the widget will be
destroyed. If the device is a file, it will be closed.