stemplot¶
-
hhpy.plotting.
stemplot
(x, y, data=None, ax=None, color='xkcd:blue', baseline=0, kwline=None, **kwargs)[source]¶ modeled after pyplot.stemplot but more customizeable
Parameters: - x – Name of the x variable in data or vector data
- y – Name of the y variable in data or vector data
- data – Pandas DataFrame containing named data, optional if vector data is used
- ax – The matplotlib.pyplot.Axes object to plot on, defaults to current axis [optional]
- color – Color used for plotting, must be known to matplotlib.pyplot [optional]
- baseline – where to draw the baseline for the stemplot
- kwline – other keyword arguments passed to pyplot.plot
- kwargs – other keyword arguments passed to pyplot.scatter
Returns: The matplotlib.pyplot.Axes object with the plot on it