vampire.plot.plot_distribution¶
- vampire.plot.plot_distribution(contours_df, object_index, output_path=None, build_name=None, apply_name=None, ax=None)[source]¶
Plots the distribution of mean contours in a bar graph.
- Parameters
- contours_dfDataFrame
DataFrame containing contour coordinates of objects and a column named ‘cluster_id’ that indicates the cluster that an object belongs.
- object_indexndarray of str
A list of labels corresponding to the leaf nodes.
- output_pathstr, optional
Path to the output directory. Default None, does not save figure. Cannot be not None at the same time with
ax.- build_namestr, optional
Name of the built model.
- apply_namestr, optional
Name of the image set being applied to.
- axAxes, optional
Figure axis to be plotted on. Cannot be not None with
output_pathat the same time.