When putting code inside of a function, embedding is throwing an error of <code block>:11: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする