Skip to content

Commit f8a601f

Browse files
getting tests to pass
1 parent 98114eb commit f8a601f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- checkout
1010
- run:
1111
name: Install black
12-
command: "sudo pip install black"
12+
command: "sudo pip install black==19.10b0"
1313
- run:
1414
name: Check formatting with black
1515
command: "black --check ."

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(scope.transform(fig, format="json").decode("utf-8"))
310310
if as_dict:
311311
return fig
312312
else:

0 commit comments

Comments
 (0)