We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfaac6f commit b28b39dCopy full SHA for b28b39d
src/py/kaleido/kaleido.py
@@ -12,8 +12,10 @@
12
13
import choreographer as choreo
14
import logistro
15
+from choreographer import channels
16
from choreographer.errors import ChromeNotFoundError
17
from choreographer.utils import TmpDirectory
18
+from plotly.utils import PlotlyJSONEncoder
19
20
from ._fig_tools import _is_figurish, build_fig_spec
21
from ._kaleido_tab import _KaleidoTab
@@ -28,6 +30,8 @@
28
30
29
31
_logger = logistro.getLogger(__name__)
32
33
+channels.register_custom_encoder(PlotlyJSONEncoder)
34
+
35
# Show a warning if the installed Plotly version
36
# is incompatible with this version of Kaleido
37
warn_incompatible_plotly()
0 commit comments