paired_plot¶
-
hhpy.plotting.
paired_plot
(data: pandas.core.frame.DataFrame, cols: Sequence[T_co], color: str = None, cmap: str = None, alpha: float = 1, **kwargs) → seaborn.axisgrid.FacetGrid[source]¶ create a facet grid to analyze various aspects of correlation between two variables using seaborn.PairGrid
Parameters: - data – Pandas DataFrame containing named data, optional if vector data is used
- cols – list of exactly two variables to be compared
- color – Color used for plotting, must be known to matplotlib.pyplot [optional]
- cmap – Color map to use [optional]
- alpha – Alpha transparency level [optional]
- kwargs – other arguments passed to seaborn.PairGrid
Returns: seaborn FacetGrid object with the plots on it