matplotlib繪圖之中文標題、座標軸標籤亂碼問題

  import matplotlib.pyplot as plt import matplotlib as mpl   # 解決中文亂碼問題 #sans-serif就是無襯線字體,是一種通用字體族。 #常見的無襯線字體有 Trebuchet MS, Tahoma, Verdana, Arial, Helvetica, 中文的幼圓、隸書等等。 mpl.rcParams['font.sans-se
相關文章
相關標籤/搜索