mpld3

<Python, matplotlib, mpld3> mpld3の出力結果(hoge.html)

// \n \n \n \n X (0, 0.36581843242256057)\n \n \n \n \n a\n 0.365818\n \n \n b\n -1.027153\n \n \n c\n 0.166174\n \n \n d\n 0.943041\n \n \n e\n -0.085353\n \n \n", "\n \n \n \n X (1, 0.053902576064756076)\n \n \n \n \n a\n 0.053903\n \n \…

<Python, matplotlib, mpld3> matplotlib を d3.js へ いいねー。

matplotlibのfigureをd3.jsへ変換してくれるすげーパッケージ。 MPLD3 — Bringing Matplotlib to the Browser 作った人は、Jake VanderPlasさん。 Jake VanderPlaswww.astro.washington.edu いやー。 すごいねー。 ということで、サンプルコード。 import ma…