Skip to content

Commit

Permalink
Merge pull request #3763 from mdboom/fix-webagg
Browse files Browse the repository at this point in the history
BUG : fix type being passed to png writer in webAgg
  • Loading branch information
tacaswell committed Nov 7, 2014
2 parents 28d3fcd + 56d6257 commit cf4f332
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,
output.view(dtype=np.uint8).reshape(output.shape + (4,)),
self._png_buffer)

# Swap the renderer frames
Expand Down

0 comments on commit cf4f332

Please sign in to comment.