matplotlib [matplotlib animation] 89. xkcd風なプロットのアニメーション xkcd風なプロットによるアニメーションをmatplotlibのFuncAnimationによって表示する。 2020.10.09 matplotlibmatplotlib 3Dmatplotlib Animationpython
jupyter notebook, lab [matplotlib] 91. マウスオーバーイベントで九九表(Multiplication tables) matplotlibのaxes_enter_event、axes_leave_eventを使ってaxesの背景色を変えて、マウスオーバーすると答えが出る九九表を作成する。 2020.10.02 NumPyjupyter notebook, labmatplotlibpython
matplotlib [matplotlib animation] 88. imshowでのcmap変化アニメーション plt.imshowで表示した画像のカラーマップを変化させたときの色の変化をmatplotlibのFuncAnimationによるアニメーションで表示する。 2020.10.01 SciPymatplotlibmatplotlib Animationpython画像処理
matplotlib [scikit-image] 88. threshold_sauvola, opening, label, regionpropsなどを駆使してサボテンの種の数を調査 skimage.filters, morphology, measureなどを使用して、サボテンの種の数を調べたのでその詳細を解説する。 2020.09.24 matplotlibpythonサボテン画像処理
matplotlib [matplotlib animation] 87. 円の多角形近似のresolution変化アニメーション matplotlibのFuncAnimationでpatches.CirclePolygonのresolutionを変化させたときの多角形の変化をアニメーションで表示する。 2020.08.21 matplotlibmatplotlib Animationpython
matplotlib [matplotlib] 90. 軸ラベル位置の調整方法 matplotlibでラベルの位置を調整する方法を解説します。set_xlabelとset_ylabelのloc引数を使用して、x軸とy軸のラベル位置をカスタマイズする手法を具体的なコード例と共に紹介します。 2020.08.05 matplotlibpython
matplotlib [matplotlib] 89. 任意の傾きを持つ直線を描画する方法 – axline関数の活用 matplotlibのaxline関数を使って図中に任意の傾きを持つ直線を描画する方法を解説。2点指定や点と傾き指定など、様々な表示方法とカスタマイズオプションを紹介しています。 2020.08.04 matplotlibpython
ipywidgets [ipywidgets] 30. 3Dプロットのアスペクト比をIntSliderで調整(set_box_aspect) ipywidgetsのIntSliderをつかって、matplotlibの3Dプロットのアスペクト比をインタラクティブに変更する方法について説明する。 2020.08.03 ipywidgetsmatplotlibmatplotlib 3Dpython