민서네집

mpld3 - Python Graphic Library 본문

Python

mpld3 - Python Graphic Library

브라이언7 2019. 8. 11. 22:40

https://mpld3.github.io/

 

mpld3 — Bringing Matplotlib to the Browser

mpld3 The mpld3 project brings together Matplotlib, the popular Python-based graphing library, and D3js, the popular JavaScript library for creating interactive data visualizations for the web. The result is a simple API for exporting your matplotlib graph

mpld3.github.io

https://mpld3.github.io/notebooks/index.html#notebook-examples

 

Notebook Examples — Bringing Matplotlib to the Browser

 

mpld3.github.io

https://mpld3.github.io/notebooks/mpld3_demo.html

 

mpld3_demo — Bringing Matplotlib to the Browser

 

mpld3.github.io

https://mpld3.github.io/notebooks/interactive_legend.html

 

interactive_legend — Bringing Matplotlib to the Browser

 

mpld3.github.io

ipython notebook --pylab inline: zooming of a plot

 

ipython notebook --pylab inline: zooming of a plot

Is it possible to zoom into a plot if inline is activated? Especially regarding to 3d-plots rotating and zooming is a necessary feature.

stackoverflow.com

mpld3 실행 시 object of type 'ndarray' is not json serializable 에러 발생 시 해결방법

 

python -m pip install --user "git+https://github.com/javadba/mpld3@display_fix"

 

나는 이렇게 해서 해결됐다. (2019-08-15)

 

[출처] https://stackoverflow.com/questions/47380865/json-serialization-error-using-matplotlib-mpld3-with-linkedbrush

 

Comments