Skip to content

Commit db3b741

Browse files
committed
Fix calling super().draw().
Fix for previous commit.
1 parent b18a576 commit db3b741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_gtk3agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def draw(self):
7474
if self.get_visible() and self.get_mapped():
7575
allocation = self.get_allocation()
7676
self._render_figure(allocation.width, allocation.height)
77-
super(FigureCanvasGTK3Agg).draw()
77+
super().draw()
7878

7979
def print_png(self, filename, *args, **kwargs):
8080
# Do this so we can save the resolution of figure in the PNG file

0 commit comments

Comments
 (0)