In [1]:
import numpy as np
import matplotlib
font = {'family' : 'normal',
        'size'   : 32}
matplotlib.rc('font', **font)
%matplotlib qt5
import matplotlib.pyplot as plt

In [2]:
def foo(x):
    return 0.001 * np.sqrt(1 - 0.999 ** x) / (1 - 0.9 ** x)

In [3]:
x = np.linspace(1, 5000, 500)
y = foo(x)

In [7]:
plt.plot(x, y, linewidth=5)
plt.xlabel(r"$t$")
plt.legend([r"$\gamma_t$"])
plt.title(r"$\beta_1=0.9\quad\beta_2=0.999\quad lr=0.001$")
plt.show()

In [ ]: