mescla.plotting.diagrams.plot_ratios

mescla.plotting.diagrams.plot_ratios(result, ax=None, theme='light', order_by=None, x=None)[source]

Stacked mixing ratios, one column per sample.

Only adjacent colours touch in a stack, so the full categorical order is safe here.

Parameters:
  • order_by (int, optional) – Sort samples by the contribution of this end-member – much easier to read than sample order when there is no natural sequence.

  • x (array_like, optional) – Positions for the columns, e.g. sampling dates.

  • result (Any)

  • ax (Any)

  • theme (str | Theme)

Return type:

Any