Making different scales within a graph

I have the following graph, what I would want to do is to make two different scales within the graph : one for the bar graphs on the left side of the gray rectangle and another one for the ones on the right side, so they can take more space on the screen.

Is there a way to do it ? Thank you.


I understand that by ‘different scale’ you mean different scale for the y axis? In any case, one solution could be to use subplots. The bars on the left would belong to the first subplot and the bars on the right would belong to the second subplot:

Other option could be to add a secondary Y axis:

I hope this helps!

1 Like