MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / Histogram

Function Histogram

deeplabcut/utils/plotting.py:44–50  ·  view source on GitHub ↗
(vector, color, bins, ax=None, linewidth=1.0)

Source from the content-addressed store, hash-verified

42
43
44def Histogram(vector, color, bins, ax=None, linewidth=1.0):
45 dvector = np.diff(vector)
46 dvector = dvector[np.isfinite(dvector)]
47 if ax is None:
48 fig = plt.figure()
49 ax = fig.add_subplot(111)
50 ax.hist(dvector, color=color, histtype="step", bins=bins, linewidth=linewidth)
51
52
53def PlottingResults(

Callers 1

PlottingResultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected