代码见 https://gitee.com/xd15zhn/zhnmplt
例1
import numpy as np
from zhnplot import SinglePlot
x = np.linspace(-3.14, 3.14, 100)
y = np.sin(x)
xlabel = r'时间(s)'
ylabel = r'$\omega$(rad)'
fig1 = SinglePlot(labels=[xlabel, ylabel])
fig1.plot(x, y)
fig1.show()