jupyter-widgets-contrib / ipycanvas

Interactive Canvas in Jupyter
https://ipycanvas.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
686 stars 64 forks source link

Plot example not working since 0.9.0 when orjson not installed #212

Open martinRenou opened 3 years ago

martinRenou commented 3 years ago

If orjson is not installed, the plotting example fails with

~/miniconda3/envs/tutorial/lib/python3.9/json/encoder.py in default(self, o)
    177 
    178         """
--> 179         raise TypeError(f'Object of type {o.__class__.__name__} '
    180                         f'is not JSON serializable')
    181 

TypeError: Object of type int64 is not JSON serializable