plt.rcParams['axes.unicode_minus']
时间: 2024-06-01 11:09:35 浏览: 83
基于plt.title无法显示中文的快速解决
= False
This line of code sets the parameter 'axes.unicode_minus' to False in the matplotlib library. This parameter controls whether to use Unicode characters or a hyphen for the negative sign in plots. Setting it to False ensures that the minus sign is always a hyphen.
阅读全文