yuuno.ipython.environment module

class yuuno.ipython.environment.YuunoIPythonEnvironment(**kwargs)[source]

Bases: yuuno.core.environment.Environment

Stores the state containing the current

apps

A boolean (True, False) trait.

deinitialize()[source]
diff_scale

A boolean (True, False) trait.

feature_classes

An instance of a Python list.

features

An instance of a Python list.

formatter

A boolean (True, False) trait.

init_feature(cls)[source]
initialize()[source]
inspect_default_sizes

An instance of a Python list.

inspect_resizer

An enum of strings where the case should be ignored.

ipython

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

load_features()[source]
namespace

A boolean (True, False) trait.

tile_size

An instance of a Python list.

tile_viewport_size

An instance of a Python list.

tiling_threshold

An instance of a Python list.

unload_features()[source]
yuuno.ipython.environment.load_ipython_extension(ipython: IPython.core.interactiveshell.InteractiveShell) → None[source]

Called when IPython load this extension.

Parameters:ipython – The current IPython-console instance.
yuuno.ipython.environment.unload_ipython_extension(ipython) → None[source]

Called when IPython unloads the extension.