Json serialization error using matplotlib mpld3 with LinkedBrush

后端 未结 2 776
南方客
南方客 2021-01-02 05:15

The mpld3 (matplotlib on d3) example for LinkedBrush http://mpld3.github.io/examples/linked_brush.html provides the foll

2条回答
  •  失恋的感觉
    2021-01-02 05:31

    Based on a comment from @snakecharmerb I forked from mpld3, entered the suggested fix, and pip installed from my new branch on github.

    The fix is here: https://github.com/javadba/mpld3/tree/display_fix . It may be installed via:

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

    It works well: the json serialization error is gone and the linkage among the 9 charts functions properly:

提交回复
热议问题