如何在Jupyter Notebook中放大内嵌图? [英] How to make inline plots in Jupyter Notebook larger?

查看:1328
本文介绍了如何在Jupyter Notebook中放大内嵌图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在我的Ipython笔记本上使用"%matplotlib inline"内嵌图.

I have made my plots inline on my Ipython Notebook with "%matplotlib inline."

现在,出现图.但是,它很小.是否可以使用笔记本设置或绘图设置使它显得更大?

Now, the plot appears. However, it is very small. Is there a way to make it appear larger using either notebook settings or plot settings?

推荐答案

是的,像这样(在调用子图之前)玩figuresize:

Yes, play with figuresize like so (before you call your subplot):

fig=plt.figure(figsize=(18, 16), dpi= 80, facecolor='w', edgecolor='k')

这篇关于如何在Jupyter Notebook中放大内嵌图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆