Subplot showing bar graphs grouped and stacked

Welcome @bruceg ! It looks like setting barmodes per subplot is not supported (update_layout updates parameters of the entire figure). However it seems some people have found workarounds, see this thread:

Also check out multi-category axes:

Hope this helps!