So I'm plotting a solution to PDE with a program called fenics that has its own plot function. I can get the colorbar with plt.colorbar, how can I call it with fixed bounds such that the lower bound and upper bounds will always be the same regardless of data. What do I pass colorbar function so that there is a fixed lower and upper bound to the colorbar?
I have seen boundaries and ticks, but this isn't doing the trick