corrplot

hhpy.plotting.corrplot(data: pandas.core.frame.DataFrame, annotations: bool = True, number_format: str = '.2f', ax=None)[source]

function to create a correlation plot using a seaborn heatmap based on: https://www.linkedin.com/pulse/generating-correlation-heatmaps-seaborn-python-andrew-holt

Parameters:
  • number_format – The format string used for annotations [optional]
  • data – Pandas DataFrame containing named data
  • annotations – Whether to display annotations [optional]
  • ax – The matplotlib.pyplot.Axes object to plot on, defaults to current axis [optional]
Returns:

The matplotlib.pyplot.Axes object with the plot on it