0 原始matplotlib
import numpy as np
import matplotlib.pyplot as plt
x=np.linspace(0,100)
y=np.sin(100*x)
plt.plot(x,y);
1 light
from qbstyles import mpl_style
mpl_style(dark=False) #开启light主题
plt.plot(x,y);
2 dark
from qbstyles import mpl_style
mpl_style(dark=True) #开启light主题
plt.plot(x,y);