はじめに
matplotlibでパラリンピックのシンボルを作成して表示する。
コード&解説
モジュールのインポート
バージョン
アギトの作成
np.zerosで0で構成されたRGB画像を形成し、skimage.draw のellipseを重ね合わせることで各色の絵を作成する。
緑のアギト

青のアギト

赤のアギト

それぞれのアギトを合体して表示

参考

パラリンピックシンボル - Wikipedia
skimage.draw — skimage 0.25.2rc0.dev0 documentation
コメント