How can we make the grouped violin plot scaled by 'width'?

I added two traces to data to make the violin plot grouped. The x axis represents different categories. I set scalemode to 'width', but it seems that the parameter doesn’t work.

How can I get all the violins to have the same width? Here is my code. Thanks!