jupyter中的技巧汇整

01 解决坐标轴刻度负号乱码
plt.rcParams['axes.unicode_minus'] = False

02 解决中文乱码问题
plt.rcParams['font.sans-serif'] = ['Simhei']

03 全行输出

from IPython.core.interactiveshell import InteractiveShell

InteractiveShell.ast_node_interactivity = "all"

04 增加目录 在Aaconda Prompt 中输入

conda install -c conda-forge jupyter_contrib_nbextensions,回车执行

posted @ 2020-04-24 15:01  EDWIN刘  阅读(111)  评论(0)    收藏  举报