I get an error on calling the colorbar() function that was working perfectly with older version of matplotlib, numpy I suspect, this TypeError is rasied when calling ...
This example uses a PowerNorm-like norm which first applies the power, then does linear rescaling to (0, 1) (as opposed to matplotlib's PowerNorm which first linearly rescales to (0, 1) then applies ...