Impossible to change barmode when heatmap present in the subplots?

The Figure is made by make_subplots(), and has 2 heatmaps with a bar chart between them.
If I change barmode via fig.update_layout(barmode="group") - nothing happens.
I thought barmode shouldn’t interfere with the heatmaps and thus be applied, but it is false unfortunately.

Is my only way to split a figure into 3 separate graphs?

another strange thing is that instead of separate color_discrete_sequence, it looks like bar chart has coloraxis with the same parameters as the other two. I did something wrong…