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 4c9efcd + a493382 commit 2766df0Copy full SHA for 2766df0
lib/matplotlib/backends/backend_webagg.py
@@ -378,7 +378,7 @@ class FavIcon(tornado.web.RequestHandler):
378
def get(self):
379
self.set_header('Content-Type', 'image/png')
380
with open(os.path.join(WebAggApplication._mpl_dirs['images'],
381
- 'matplotlib.png')) as fd:
+ 'matplotlib.png'), 'rb') as fd:
382
self.write(fd.read())
383
384
class SingleFigurePage(tornado.web.RequestHandler):
0 commit comments