Skip to content

Commit

Permalink
[resize not * 2]
Browse files Browse the repository at this point in the history
  • Loading branch information
junhuanchen authored Jul 13, 2022
1 parent 60f5c8b commit 3915100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpyc_ikernel/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _update_display(self):
content = next(self._media_client.iter_content())
tmp = Image.open(io.BytesIO(content))
buf = io.BytesIO()
tmp.resize((tmp.size[0] * 2, tmp.size[1] * 2)).save(buf, format = "JPEG")
tmp.resize((tmp.size[0], tmp.size[1])).save(buf, format = "JPEG")
buf.flush()
content = buf.getvalue()
if self.clear_output: # used when updating lines printed
Expand Down

0 comments on commit 3915100

Please sign in to comment.