Interpolate 2d histogram. pyplot as plt import numpy as np plt