File tree 1 file changed +14
-10
lines changed
1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -372,11 +372,13 @@ def to_image(
372
372
scale = scale or defaults .default_scale ,
373
373
),
374
374
topojson = defaults .topojson ,
375
- kopts = dict (
376
- mathjax = defaults .mathjax ,
377
- )
378
- if defaults .mathjax
379
- else None ,
375
+ kopts = (
376
+ dict (
377
+ mathjax = defaults .mathjax ,
378
+ )
379
+ if defaults .mathjax
380
+ else None
381
+ ),
380
382
)
381
383
except ChromeNotFoundError :
382
384
raise RuntimeError (PLOTLY_GET_CHROME_ERROR_MSG )
@@ -656,11 +658,13 @@ def write_images(
656
658
try :
657
659
kaleido .write_fig_from_object_sync (
658
660
kaleido_specs ,
659
- kopts = dict (
660
- mathjax = defaults .mathjax ,
661
- )
662
- if defaults .mathjax
663
- else None ,
661
+ kopts = (
662
+ dict (
663
+ mathjax = defaults .mathjax ,
664
+ )
665
+ if defaults .mathjax
666
+ else None
667
+ ),
664
668
)
665
669
except ChromeNotFoundError :
666
670
raise RuntimeError (PLOTLY_GET_CHROME_ERROR_MSG )
You can’t perform that action at this time.
0 commit comments