Skip to content

Commit

Permalink
Fix WebAgg after write_png changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdboom committed Nov 7, 2014
1 parent 28d3fcd commit 5b645a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_webagg_core.py
Expand Up @@ -143,7 +143,7 @@ def get_diff_image(self):
# TODO: We should write a new version of write_png that
# handles the differencing inline
_png.write_png(
output,
buff.view(dtype=np.uint8).reshape(buff.shape + (4,)),
self._png_buffer)

# Swap the renderer frames
Expand Down

0 comments on commit 5b645a6

Please sign in to comment.