monkeybread.plot.shortest_distances

monkeybread.plot.shortest_distances(distances, expected_distances=None, show=True, **kwargs)

Plots the results of shortest distances calculations in histogram format.

Parameters
Return type

Union[Axes, Tuple[Axes, Axes]]

Returns

If show = False, returns nothing. Otherwise, returns a single Axes object or a tuple of two Axes objects if expected_distances is provided.