matplotlib 指数符号不显示 MathTextWarning
matplotlib 指数符号不显示,报错:MathTextWarning: Font ‘default’ does not have a glyph for ‘-’ [U+2212],解决办法:加:import matplotlib as mplmpl.rcParams.update({‘text.usetex’: False,‘font.family’: ‘stixgeneral’,‘mathtext.fontset’: ‘stix’,})...