(self, **savefig_kwargs)
| 344 | self._proc.returncode, self._proc.args, out, err) |
| 345 | |
| 346 | def grab_frame(self, **savefig_kwargs): |
| 347 | # docstring inherited |
| 348 | _validate_grabframe_kwargs(savefig_kwargs) |
| 349 | _log.debug('MovieWriter.grab_frame: Grabbing frame.') |
| 350 | # Readjust the figure size in case it has been changed by the user. |
| 351 | # All frames must have the same size to save the movie correctly. |
| 352 | self.fig.set_size_inches(self._w, self._h) |
| 353 | # Save the figure data to the sink, using the frame format and dpi. |
| 354 | self.fig.savefig(self._proc.stdin, format=self.frame_format, |
| 355 | dpi=self.dpi, **savefig_kwargs) |
| 356 | |
| 357 | def _args(self): |
| 358 | """Assemble list of encoder-specific command-line arguments.""" |
nothing calls this directly
no test coverage detected