Skip to content

Commit 269e1c3

Browse files
getting tests to pass
1 parent 5bb7b49 commit 269e1c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ python-frontmatter
2525
datashader
2626
pyarrow
2727
cufflinks==0.17.3
28+
kaleido

packages/python/plotly/plotly/io/_kaleido.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def full_figure_for_development(fig, warn=True, as_dict=False):
306306
"To suppress this warning, set warn=False"
307307
)
308308

309-
fig = json.loads(scope.transform(fig, format="json"))
309+
fig = json.loads(str(scope.transform(fig, format="json")))
310310
if as_dict:
311311
return fig
312312
else:

0 commit comments

Comments
 (0)