scipy.interpolate.splprep
# python - Interpolating a closed curve using scipy - Stack Overflow
# https://stackoverflow.com/questions/33962717/interpolating-a-closed-curve-using-scipy
import numpy as np
from scipy import interpolate
from matplotlib import pyplot as plt
x = np.array([23, 24, 24, 25, 25])
y = np.array([13, 12, 13, 12