Submodules
spux.plot.mpl module
spux.plot.mpl_palette_pf module
spux.plot.mpl_utils module
-
spux.plot.mpl_utils.brighten(color, factor=0.7)[source]
Create a new solid color which is slighly brighter.
-
spux.plot.mpl_utils.figname(save, figpath='fig', suffix='', extension='pdf')[source]
Generate figure name using the format ‘figpath/pwd_suffix.extension’.
spux.plot.profile module
-
spux.plot.profile.callgraph(pstatsfile, root=None, threshold=10, outputdir='fig')[source]
Generate callgraph from profile stats using gprof2dot.
-
spux.plot.profile.figname(figpath='fig', suffix='', extension='pdf')[source]
Generate figure name using the format ‘figpath/pwd_suffix.extension’.
-
spux.plot.profile.report(pstatsfile, outputdir='fig')[source]
Export profile information into a text file.