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

Skip to content

Commit 653e240

Browse files
committed
Removed arbitrary argument lists from setup()
1 parent 4d8bcb8 commit 653e240

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class AbstractMovieWriter(six.with_metaclass(abc.ABCMeta)):
137137
'''
138138

139139
@abc.abstractmethod
140-
def setup(self, fig, outfile, dpi, *args, **kwargs):
140+
def setup(self, fig, outfile, dpi):
141141
'''
142142
Perform setup for writing the movie file.
143143
@@ -246,7 +246,7 @@ def frame_size(self):
246246
width_inches, height_inches = self.fig.get_size_inches()
247247
return width_inches * self.dpi, height_inches * self.dpi
248248

249-
def setup(self, fig, outfile, dpi, *args, **kwargs):
249+
def setup(self, fig, outfile, dpi):
250250
'''
251251
Perform setup for writing the movie file.
252252

0 commit comments

Comments
 (0)