Black Lives Matter. Please consider donating to Black Girls Code today.

Barplot with two stacked and one lose bar

Hello,

I have a question, I have a barchart with the days of the week as x-label. I have 3 arrays and I want to make a bar-plot where two of the three bars are stacked and one is on his own. But all i get is this:

I want this (made with paint):

This is my code:

thanks in advance

Hey Kwazaa,

I didn’t tried anything, but you should take a look at the plotly doc if you haven’t done it yet: https://plot.ly/python/bar-charts/

The “Stacked Bar Chart” and “Bar Chart With Relative Barmode” sections could fit your needs :slight_smile: