yuuno.ipython.apps.mixins module

class yuuno.ipython.apps.mixins.ClipWrapperMixin(*args, **kwargs)[source]

Bases: traitlets.traitlets.HasTraits

clip

A trait which allows any value.

class yuuno.ipython.apps.mixins.InitialFrameMixin(*args, **kwargs)[source]

Bases: traitlets.traitlets.HasTraits

frame_number

An int trait.

class yuuno.ipython.apps.mixins.Jinja2Mixin[source]

Bases: object

Mixin for Jinja2 template based widgets.

render(name: str, context: typing.Dict[str, typing.Any]) → str[source]

Renders a jinja2 template

Parameters:
  • name – The name of the template
  • environment – The environment
Returns:

The rendered template