We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb21ba7 + 6280da8 commit 338971bCopy full SHA for 338971b
lib/matplotlib/image.py
@@ -524,7 +524,7 @@ def contains(self, mouseevent):
524
525
def write_png(self, fname):
526
"""Write the image to png file with fname"""
527
- im = self.to_rgba(self._A, bytes=True, norm=False)
+ im = self.to_rgba(self._A, bytes=True, norm=True)
528
_png.write_png(im, fname)
529
530
def set_data(self, A):
0 commit comments