pyrolite.plot.stem
- pyrolite.plot.stem.stem(x, y, ax=None, orientation='horizontal', **kwargs)[source]
Create a stem (or ‘lollipop’) plot, with optional orientation.
- Parameters
x, y (
numpy.ndarray
) – 1D arrays for independent and dependent axes.ax (
matplotlib.axes.Axes
,None
) – The subplot to draw on.orientation (
str
) – Orientation of the plot (horizontal or vertical).- Returns
Axes on which the stem diagram is plotted.
- Return type