I have a bar plot with gradient colours on the bar, however when I change the x-axis limits, the gradient is still applied to the original x values (i.e. changing the x-axis limits from 0-10 to 5-10, the gradient is still applied to 0-10 and the new plot only shows half of the gradient):