C:\Users\user\AppData\Local\Temp\ipykernel_7172\2106068084.py:2: DeprecationWarning: `set_matplotlib_formats` is deprecated since IPython 7.23, directly use `matplotlib_inline.backend_inline.set_matplotlib_formats()` set_matplotlib_formats('retina')

 

이런 경고 메세지가 발생한다면?

물론 작동에는 문제가 없지만.... 상당히 거슬리죠?

 

# 기존의 경고가 발생한 코드
set_matplotlib_formats('retina')

# 경고가 발생하지 않는 코드로 바꿔주기
%config InlineBackend.figure_format = 'retina'

 

+ Recent posts