IPython display hook for rendering.
(self)
| 1395 | return self._html_representation |
| 1396 | |
| 1397 | def _repr_html_(self): |
| 1398 | """IPython display hook for rendering.""" |
| 1399 | fmt = mpl.rcParams['animation.html'] |
| 1400 | if fmt == 'html5': |
| 1401 | return self.to_html5_video() |
| 1402 | elif fmt == 'jshtml': |
| 1403 | return self.to_jshtml() |
| 1404 | |
| 1405 | def pause(self): |
| 1406 | """Pause the animation.""" |
nothing calls this directly
no test coverage detected