File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -372,11 +372,13 @@ def to_image(
372372 scale = scale or defaults .default_scale ,
373373 ),
374374 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+ ),
380382 )
381383 except ChromeNotFoundError :
382384 raise RuntimeError (PLOTLY_GET_CHROME_ERROR_MSG )
@@ -656,11 +658,13 @@ def write_images(
656658 try :
657659 kaleido .write_fig_from_object_sync (
658660 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+ ),
664668 )
665669 except ChromeNotFoundError :
666670 raise RuntimeError (PLOTLY_GET_CHROME_ERROR_MSG )
You can’t perform that action at this time.
0 commit comments