Skip to content

Commit

Permalink
Merge pull request #1289 from ioam/renderer_export_widgets_fix
Browse files Browse the repository at this point in the history
Fixed py3 bug on Renderer.export_widgets
  • Loading branch information
jlstevens authored Apr 13, 2017
2 parents 8ab7e4d + 06ec5c6 commit 20b1e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def export_widgets(self_or_cls, obj, filename, fmt=None, template=None,
filename.write(encoded)
filename.seek(0)
else:
with open(filename, 'w') as f:
with open(filename, 'wb') as f:
f.write(encoded)


Expand Down

0 comments on commit 20b1e19

Please sign in to comment.