Could you post a reference plot and highlight the difference?
Based on your current output, it seems you might have some high outliers, which could squeeze the color map and thus result in a “dark” image.
If that’s the case, you could torch.clamp the output before feeding it to matplotlib.