インストールしたい(matplotlib)
$ pip3 install matplotlib
$ pip3 install japanize_matplotlib
$ poetry add matplotlib
$ poetry add japanize_matplotlib
バージョンを確認したい
1import matplotlib
2print(f"matplotlib: {matploblib.__version__}")
1import matplotlib as mpl
2print(f"matplotlib: {mpl.__version__}")
matplotlib本体をインポートする場合は、
mplという名前を使ったりします。