parsnip.plot_representation
- parsnip.plot_representation(predictions, plot_labels, mask=None, idx1=1, idx2=2, idx3=None, max_count=1000, show_legend=True, legend_ncol=1, marker='o', markersize=5, ax=None)
Plot the representation of a ParSNIP model
- Parameters:
predictions (
Table) – Predictions for a dataset frompredict_datasetplot_labels (List[str]) – Labels for each of the classes
mask (
array, optional) – Mask to apply to the predictions, by default Noneidx1 (int, optional) – Intrinsic latent variable to plot on the x axis, by default 1
idx2 (int, optional) – Intrinsic latent variable to plot on the y axis, by default 2
idx3 (int, optional) – If specified, show a three paneled plot with this latent variable in the extra two panels plotted against the other ones
max_count (int, optional) – Maximum number of light curves to show of each type, by default 1000
show_legend (bool, optional) – Whether to show the legend, by default True
legend_ncol (int, optional) – Number of columns to use in the legend, by default 1
marker (str, optional) – Matplotlib marker to use, by default None
markersize (int, optional) – Matplotlib marker size, by default 5
ax (axis, optional) – Matplotlib axis, by default None