How to have clusters of stacked bars with python (Pandas)
I eventually found a trick (edit: see below for using seaborn and longform dataframe): Solution with pandas and matplotlib Here it is with a more complete example : import pandas as pd import matplotlib.cm as cm import numpy as np import matplotlib.pyplot as plt def plot_clustered_stacked(dfall, labels=None, title=”multiple stacked bar plot”, H=”/”, **kwargs): “””Given a … Read more