python

matplotlib

[matplotlib] 93. fill_betweenxにより曲線で囲まれたx方向の範囲を塗りつぶし

matplotlibのaxes.Axes.fill_betweenxにより、曲線で囲まれた範囲をx方向に塗りつぶす方法について説明する。
matplotlib

[matplotlib] 92. マウスイベントで画像の一部をリアルタイムで拡大(motion_notify_eventなど)

matplotlibのmotion_notify_eventなどを使って画像の四角で囲んだ部分をインタラクティブに拡大する方法について説明する。
ipywidgets

[SciPy] 9. フィッティング範囲をipywidgetsでインタラクティブに変化させてcurve_fit

scipy.optimizeのcurve_fitで行うカーブフィットのフィッティング範囲をipywidgetsのIntRangeSliderで調整して、インタラクティブにカーブフィットした例を紹介する。
matplotlib

[SciPy] 8. np.polyfit, curve_fit, lmfitによる線形近似の実行速度比較

np.polyfit, scipy.optimizeのcurve_fit, lmfitによる線形近似の実行速度の比較をmatplotlibのエラーバー付き棒グラフで表示する。
matplotlib

[matplotlib animation] 91. 画像の複製アニメーション

1枚の画像を複製して表示するアニメーションをmatplotlibのFuncAnimationによって作成する。
matplotlib

[matplotlib animation] 90. 画像の分割アニメーション

1枚の画像を分割して表示するアニメーションをmatplotlibのFuncAnimationによって作成する。
matplotlib

[matplotlib animation] 89. xkcd風なプロットのアニメーション

xkcd風なプロットによるアニメーションをmatplotlibのFuncAnimationによって表示する。
jupyter notebook, lab

[matplotlib] 91. マウスオーバーイベントで九九表(Multiplication tables)

matplotlibのaxes_enter_event、axes_leave_eventを使ってaxesの背景色を変えて、マウスオーバーすると答えが出る九九表を作成する。