Fix inline plotting; add size kwarg to Figure.toFile()