我正在寻找一种方法来配置我的默认笔记本设置和设置绘图和图形的大小,这样我就不必分别为每个笔记本手动设置它。我知道像How to set the matplotlib figure default size in ipython notebook?这样的问题,它们详细说明了如何使用jupyter_notebook_config.py。 然而,这不起作用,大概是因为我
plt.figure(figsize=(15,15),dpi=300)nd = nx.draw_networkx_nodesalong the bottom edge are off labelleft='off')plt.savefig('foo.pdf')
在我的苹果iPython笔记本上运行时,和在微软的pyc