Matplotlib bar charts: Aligning two different y axes to zero
问题 I have two sets of data in a barchart which have very different axes: one is very negative (-7500) and one is slightly positive (+5). How can I have the two y axes aligned at 0, yet still be a good size? Using set_ylim means you can't see the second data set. Current code I'm using: A165H = [-4915, -7037] B167H = [-6927, -4105] B186H = [-5597, 0] CH =[0, 0] ConH = [0, 0] # Lists of dS values A165S = [6.28,-4.91] B167S = [-3.25, 6.7] B186S = [3.93, 0] CS = [0, 0] ConS = [0, 0] N1H = [A165H[0],