Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb37c6a

Browse files
committed
Remove decode now that we don’t have to!
1 parent a8ea810 commit cb37c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/widgets/graph_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
js_file_path = os.path.join(sys.prefix, WIDGETS_DIR,
2626
os.path.split(WIDGETS_MAIN_JS)[-1])
2727
with open(js_file_path, 'r') as f:
28-
js_widget_code = f.read().decode('utf-8')
28+
js_widget_code = f.read()
2929

3030
display(Javascript(js_widget_code))
3131

0 commit comments

Comments
 (0)