probly.visualization.dirichlet.dirichlet_visualization

One method for the user to call.

Functions

create_dirichlet_plot(alpha[, labels, ...])

Create a ternary Dirichlet distribution plot.

probly.visualization.dirichlet.dirichlet_visualization.create_dirichlet_plot(alpha, labels=None, title=None, *, show=True)[source]

Create a ternary Dirichlet distribution plot.

Args: alpha: Dirichlet concentration parameters. labels: List of labels corresponding to the simplex corners. title: Custom plot title. show: Enables the user to decide whether to show the plot or not.

Parameters:
  • alpha (np.ndarray)

  • labels (list[str] | None)

  • title (str | None)

  • show (bool)

Return type:

Axes | None