bundles / IPython 9.17.0 / IPython / lib / demo / ClearMixin
class
IPython.lib.demo:ClearMixin
Signature
class ClearMixin()Members
Summary
Use this mixin to make Demo classes with less visual clutter.
Extended Summary
Demos using this mixin will clear the screen before every block and use blank marquees.
Note that in order for the methods defined here to actually override those of the classes it's mixed with, it must go /first/ in the inheritance tree. For example:
class ClearIPDemo(ClearMixin,IPythonDemo): pass
will provide an IPythonDemo class with the mixin's features.
Aliases
IPython.lib.demo.ClearMixin