ipywidgets[ipywidgets] 37. IntSliderで多項式近似の次数を調整してフィッティング Jupyter WidgetsであるipywidgetsのIntSliderで多項式近似の次数を調整してフィッティングする方法について紹介する。多項式近似にはlmfitのPolynomialModelを使用した。2022.10.14ipywidgetsjupyter notebook, labmatplotlibpython
matplotlib[scikit-image] 105. skimageで使用可能な窓関数s(filters.window) skimage.filters.windowで画像に適用可能な窓関数を生成することができる。画像に窓関数をかける処理は画像のフーリエ変換で必要不可欠な前処理といっても過言ではない。ここではscikit-imageで利用可能な窓関数を画像に適用した例について説明する。2021.11.08matplotlibpython画像処理
ipywidgetsmatplotlib マウスイベント まとめ はじめにmatplotlibでインタラクティブな操作を可能とするマウスイベントの記事についてまとめました。ピックイベント散布図上でクリックした点に関連付けられたデータを下図に表示するpick_eventを使って、散布図中(上図)のクリックし...2021.10.10ipywidgetsmatplotlibpython
matplotlib[matplotlib] 93. fill_betweenxにより曲線で囲まれたx方向の範囲を塗りつぶし matplotlibのaxes.Axes.fill_betweenxにより、曲線で囲まれた範囲をx方向に塗りつぶす方法について説明する。2020.10.28matplotlibpython
matplotlib[matplotlib animation] 89. xkcd風なプロットのアニメーション xkcd風なプロットによるアニメーションをmatplotlibのFuncAnimationによって表示する。2020.10.09matplotlibmatplotlib 3Dmatplotlib Animationpython
matplotlib[matplotlib animation] 88. imshowでのcmap変化アニメーション plt.imshowで表示した画像のカラーマップを変化させたときの色の変化をmatplotlibのFuncAnimationによるアニメーションで表示する。2020.10.01matplotlibmatplotlib AnimationpythonSciPy画像処理
matplotlib[matplotlib] 89. 図中に任意の傾きの線を表示する(axline) matplotlibで図全体に表示される任意の傾きの線を表示する方法について説明する。2020.08.04matplotlibpython
ipywidgets[ipywidgets] 30. 3Dプロットのアスペクト比をIntSliderで調整(set_box_aspect) ipywidgetsのIntSliderをつかって、matplotlibの3Dプロットのアスペクト比をインタラクティブに変更する方法について説明する。2020.08.03ipywidgetsmatplotlibmatplotlib 3Dpython