.. _f-custommagics: module ``td_2a.custom_magics`` ============================== .. inheritance-diagram:: ensae_teaching_cs.td_2a.custom_magics Short summary +++++++++++++ module ``ensae_teaching_cs.td_2a.custom_magics`` An example of a custom magic for IPython. :githublink:`%|py|6` Classes +++++++ +----------------------------------------------------------------------------+-------------------------+ | class | truncated documentation | +============================================================================+=========================+ | :class:`CustomMagics ` | | +----------------------------------------------------------------------------+-------------------------+ Functions +++++++++ +-----------------------------------------------------------------------------------------------+-----------------------------------------------------------+ | function | truncated documentation | +===============================================================================================+===========================================================+ | :func:`load_ipython_extension ` | Registers magics function, can be called from a notebook. | +-----------------------------------------------------------------------------------------------+-----------------------------------------------------------+ Properties ++++++++++ +----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +==========================================================================================================+===============================================================================================================+ | :meth:`cross_validation_lock ` | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ Methods +++++++ +----------------------------------------------------------------------------+-----------------------------------------+ | method | truncated documentation | +============================================================================+=========================================+ | :meth:`ENSAE ` | This command can be activated by typing | +----------------------------------------------------------------------------+-----------------------------------------+ | :meth:`ENSAEb ` | This command can be activated by typing | +----------------------------------------------------------------------------+-----------------------------------------+ | :meth:`ENSAEl ` | This command can be activated by typing | +----------------------------------------------------------------------------+-----------------------------------------+ Documentation +++++++++++++ .. automodule:: ensae_teaching_cs.td_2a.custom_magics :members: :special-members: __init__ :show-inheritance: