MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / plot_cumulative_density

Function plot_cumulative_density

Utility/Plot/PlotAxes.py:265–270  ·  view source on GitHub ↗
(ax: Axes, values: torch.Tensor | np.ndarray, **kwargs)

Source from the content-addressed store, hash-verified

263@as_chain_func
264@IgnoreException
265def plot_cumulative_density(ax: Axes, values: torch.Tensor | np.ndarray, **kwargs) -> Axes:
266 if isinstance(values, torch.Tensor):
267 values = values.cpu().numpy()
268
269 ax.ecdf(values, **kwargs)
270 return ax
271
272
273@as_chain_func

Callers 1

plot_compare_plotFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected