arsenal.viz package¶
Submodules¶
arsenal.viz.learning_curve module¶
arsenal.viz.mds module¶
arsenal.viz.report module¶
arsenal.viz.util module¶
-
class
arsenal.viz.util.NumericalDebug(name)[source]¶ Bases:
objectIncrementally builds a DataFrame, includes plotting and comparison method.
The quickest way to use it is
>>> from arsenal.viz import DEBUG >>> d = DEBUG['test1'] >>> d.update(want=1, have=1) >>> d.update(want=1, have=1.01) >>> d.update(want=1, have=0.99) want have 0 1 1.00 1 1 1.01 2 1 0.99
To plots and runs numerical comparison tests,
>>> d.compare() # doctest: +SKIP
-
df¶ lazily make DataFrame from _data.
-
-
arsenal.viz.util.axman(name, xlabel=None, ylabel=None, title=None, clear=True)[source]¶ axman is axis manager. Manages clearing, updating and maintaining a global handle to a named plot.
-
arsenal.viz.util.contour(f, xdomain, ydomain, color='viridis', alpha=0.5, levels=None, ax=None)¶ Contour plot of a function of two variables.
-
arsenal.viz.util.contour_plot(f, xdomain, ydomain, color='viridis', alpha=0.5, levels=None, ax=None)[source]¶ Contour plot of a function of two variables.
-
arsenal.viz.util.lineplot(name, with_ax=False, halflife=20, xlabel=None, ylabel=None, title=None, **style)[source]¶
-
arsenal.viz.util.name2color(palette=['r', 'g', 'b', 'y', 'c', 'm', 'k'])[source]¶ Create a mapping from names to matplotlib colors.
-
arsenal.viz.util.plot3d(f, xdomain, ydomain, ax=None)[source]¶ 3d surface plot of a function of two variables.