사용자 도구

사이트 도구


ipython

문서의 이전 판입니다!


IPython

ipython notebook 기본 figure size 변경

변경을 원하는 profile의 ipython_notebook_config.py 수정(없으면 생성) 기본 프로파일(~/.ipython/profile_default/ipython_notebook_config.py)

ipython_notebook_config.py
# sample ipython_config.py
c = get_config()
 
# Subset of matplotlib rcParams that should be different for the inline backend.
c.InlineBackend.rc = {'font.size': 10, 'figure.figsize': (10.0, 4.0), 'figure.facecolor': 'white', 'savefig.dpi': 72, 'figure.subplot.bottom': 0.125, 'figure.edgecolor': 'white'}

IPython Interpreter Embed 하기

from IPython import embed
embed()
ipython.1471576172.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)