tl;dr: use a parametric equation.
If the Earth were not rotating, then we would have something like
x & = \cos \omega (t-t_0)\\
y & = \sin \omega (t-t_0) \ \cos i\\
z & = \sin \omega (t-t_0) \ \sin i\\
where the radius of the orbit is 1, $\omega$ is $2 \pi/T$ and $T$ is the period, and $i$ is the inclination of the orbit.
Then we would have
lon & = \arctan2(y, x) + const\\
lat & = \arcsin(z)\\
If the Earth is rotating then
$$lon = \arctan2(y, x) - \omega_E (t-t_0) + const$$
Solving this for longitude as a function of latitude looks like some serious work and I am not sure there is an analytical solution.
Instead you can try the parametric equation approach where you first make a hidden table of times, and then solve for $lon(t)$ and $lat(t)$ and plot $lat$ vs $lon$
Here is a plot, I haven't adjusted $t_0$ or $const$ and just used rough values for $w$ and $i$ but it should be enough to get you stared.
Here is some further reading:
import numpy as np
import matplotlib.pyplot as plt
twopi = 2*np.pi
to_degs, to_rads = 180/np.pi, np.pi/180.
omega = twopi/(92*60)
omega_E = twopi/(23*3600 + 56*60 + 4)
time = 60 * np.arange(101.) # 100 minutes
t0 = 1000. # arbitrary, you can fit this later
inc = 51.
const = 1.0 # arbitrary, you can fit this later
x = np.cos(omega * (time-t0))
y = np.sin(omega * (time-t0)) * np.cos(to_rads*inc)
z = np.sin(omega * (time-t0)) * np.sin(to_rads*inc)
lon = np.arctan2(y, x) - omega_E * (time-t0) + const
lat = np.arcsin(z)
plt.plot(to_degs*lon, to_degs*lat, '.k')