I have a few data sets:
d1 = [1,3,4,3,2]
d2 = [2]
d3 = [3]
d4 = [5,3]
I want to create a bar plot, with one group for each data set, containing 4/1/1/2 bars respectively. Is this possible? I found groupedbar
, but that only seems to work if each group have the same number of bars.
I guess this would be possible by customizing the position and width of each individual of the 9 bars. But I want to make quite a few such plots, typically with more bars, so this would become difficult.