corr_plot builder takes a dataframe (can be Pandas
Dataframe or just Python
dict) as the input and
builds a correlation plot.
It allows to combine 'tile', 'point' or 'label' layers in a matrix of 'full', 'lower' or 'upper' type.
A call to the terminal
build() method will create a resulting 'plot' object.
This 'plot' object can be further refined using regular Lets-Plot (ggplot) API, like
+ ggsize() and so on.
The Ames Housing dataset for this demo was downloaded from House Prices - Advanced Regression Techniques (train.csv), (c) Kaggle.
import pandas as pd from lets_plot import * from lets_plot.bistro.corr import * LetsPlot.setup_html()