plt.rcParams['axes.unicode_minus']
时间: 2024-06-01 14:09:35 浏览: 81
基于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.
阅读全文