Display the program in the ipython notebook.
(self)
| 319 | pass |
| 320 | |
| 321 | def _ipython_display_(self): |
| 322 | """Display the program in the ipython notebook.""" |
| 323 | |
| 324 | log.debug( |
| 325 | f"displaying program in _ipython_display_ with self._comm={self._comm}, self.id={self._id}" |
| 326 | ) |
| 327 | |
| 328 | # mark that we are displaying (and so future execution updates should be displayed) |
| 329 | self._displaying = True |
| 330 | self._displaying_html = True |
| 331 | |
| 332 | # build and display the html |
| 333 | html = self._build_html(self.marked_text) |
| 334 | self._display_html(html) |
| 335 | |
| 336 | async def _await_finish_execute(self): |
| 337 | """Used by self.__await__ to wait for the program to complete.""" |
nothing calls this directly
no test coverage detected