Create boundary : accelerate the contour generation script

Try to use trimatplotlib instead of custom algo