def show(self):
        """Show the circuit expression in an IPython notebook."""

        # noinspection PyPackageRequirements
        from IPython.display import Image, display

        fname = self.render()
        display(Image(filename=fname))
def show ( self ) : from IPython . display import Image , display fname = self . render ( ) display ( Image ( filename = fname ) )
Show the circuit expression in an IPython notebook.