Creating multi-panel plots using facets.

Problem

You want to see more aspects of your data and it's not practcal to use the regular aesthetics approach for that.

Solution - facets

You can add one or more new dimentions to your plot using faceting.

This approach allows you to split up your data by one or more variables and plot the subsets of data together.

In this demo we will explore how various faceting functions work, as well as the built-in sorting and formatting options.

In [1]:
import numpy as np
import pandas as pd

from lets_plot import *
LetsPlot.setup_html()