yuuno.ipython.formatter module

class yuuno.ipython.formatter.Formatter(*args, **kwargs)[source]

Bases: yuuno.ipython.feature.Feature

cache

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

deinitialize()[source]
display(format)[source]
display_formatters
initialize()[source]
type_to_repr = {‘image/png’: ‘_repr_png_’, ‘text/plain’: ‘_repr_pretty_’}
wrap_cached(obj) → yuuno.ipython.formatter.InlineFormat[source]
class yuuno.ipython.formatter.InlineFormat(*args, **kwargs)[source]

Bases: traitlets.traitlets.HasTraits

Represents an inline formatted object.

clip

A trait which allows any value.

environment

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

first_frame

A trait which allows any value.

ipy_image

A trait which allows any value.