SimplePlot
- treefiles.SPlot
alias of
treefiles.splot.SimplePlot
- class treefiles.splot.SimplePlot(fname: Optional[str] = None, show: bool = True, save: Optional[bool] = None)
Cleanly plot a figure with matplotlib.pyplot
- __exit__(exc_type, exc_val, exc_tb)
Get the current figure, save/show it if specified and finally close the figure properly
- save(fname)
Give a filename to save the figure