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 ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する