The bar plot produced by the following code has two issues:
1) It is cropped at the extreme left and right edges
2) There is too much space between the two groups of bars.
This person has a similar issue here: https://tex.stackexchange.com/questions/460707/horizontal-chart-bars-are-cropped But the first solution (using
enlargelimits) just adds space below the ybars for my plot and the spacing/cropping issues remain.
The equivalent to the second solution (setting
[normalized]) indeed changes where the bars are placed , but the principle behind
normalizedis not explained so I am left randomly guessing numbers to try and approximate an acceptable output.