matplotlibを使用している際以下のようなエラーメッセージが出る場合があります。
UserWarning: Matplotlib is currently using module://matplotlib_inline.backend_inline, which is a non-GUI backend, so cannot show the figure.
対処法
その場合はmatplotlibをimportするコードの上に%matplotlib inline
を追加することで解消できます。
%matplotlib inline
import matplotlib.pyplot as plt
以上!