So I found the pywaffle library which is apt for the visualization I need. But I need it to be a part of subplot in combination with a seaborn/matplotlib chart. But I can't find any way to actually make the plot.
An example of the plot layout I'm trying to make.
Pywaffle provides a Figure
constructor class Waffle
, which could be passed to matplotlib.pyplot.figure
and generates a matplotlib Figure
object. Example code below:
fig = plt.figure(
FigureClass=Waffle,
rows=5,
columns=10,
values=[48, 46, 6],
figsize=(5, 3)
)
plt.show()