Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 786a6b4

Browse files
committed
Fixed typo for WebAgg directory locations.
1 parent 1d828a5 commit 786a6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_webagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class WebAggApplication(tornado.web.Application):
376376
class FavIcon(tornado.web.RequestHandler):
377377
def get(self):
378378
self.set_header('Content-Type', 'image/png')
379-
with open(os.path.join(self._mpl_dirs['images'],
379+
with open(os.path.join(WebAggApplication._mpl_dirs['images'],
380380
'matplotlib.png')) as fd:
381381
self.write(fd.read())
382382

0 commit comments

Comments
 (0)