Pandas groupby ,crosstab and plotly issue

I am new to data visualization, I have encountered problem “confusion” while trying to plot my grouped data.

I can’t plot directly my groupby data frame using plotly ,but it’s possible while matplotlib !!!

1

So I had to use Crosstab and fixing the index issue

2

So here is my data

My question is how to avoid this complicated issue ,
Can I plot data directly from crosstab or Pivot table or groupby dataframe using Plotly ?