ipywidgets [matplotlib] 62. mpl_connect(‘button_press_event’, onclick)により、画像上でクリックした2点間のプロファイルを表示
matplotlibのイベント処理機能を使って画像上の2点をクリックし、その間のプロファイルをskimageのprofile_line関数で取得して可視化する方法を解説。インタラクティブなデータ分析のための実践的なPythonコード例を提供しています。
ipywidgets
ipywidgets
ipywidgets
ipywidgets
matplotlib Animation
python
python
python