We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b517903 commit 7047c7cCopy full SHA for 7047c7c
plotly/io/_kaleido.py
@@ -370,10 +370,10 @@ def to_image(
370
371
try:
372
kopts = {}
373
- if defaults.mathjax:
374
- kopts["mathjax"] = defaults.mathjax
375
if defaults.plotlyjs:
376
kopts["plotlyjs"] = defaults.plotlyjs
+ if defaults.mathjax:
+ kopts["mathjax"] = defaults.mathjax
377
378
# TODO: Refactor to make it possible to use a shared Kaleido instance here
379
img_bytes = kaleido.calc_fig_sync(
@@ -693,10 +693,10 @@ def write_images(
693
694
695
696
697
698
699
700
kaleido.write_fig_from_object_sync(
701
kaleido_specs,
702
kopts=kopts,
0 commit comments