nglview.player

Module contents

class nglview.player.TrajectoryPlayer(view, step=1, delay=100, sync_frame=False, min_delay=40)[source]

Bases: ipywidgets.widgets.domwidget.DOMWidget

camera

An enum of strings where the case should be ignored.

count
delay

A float trait.

frame
interpolate

A boolean (True, False) trait.

iparams

An instance of a Python dict.

on_camera_changed
on_spin_changed
on_spin_speed_changed
on_spin_x_changed
on_spin_y_changed
on_spin_z_changed
parameters

An instance of a Python dict.

smooth()[source]
spin

A boolean (True, False) trait.

step

An int trait.

sync_frame

A boolean (True, False) trait.

update_delay
update_parameters
update_sync_frame
widget_accordion_repr_parameters

A trait which allows any value.

widget_component_dropdown

A trait which allows any value.

widget_component_slider

A trait which allows any value.

widget_drag

A trait which allows any value.

widget_export_image

A trait which allows any value.

widget_extra

A trait which allows any value.

widget_general

A trait which allows any value.

widget_help

A trait which allows any value.

widget_picked

A trait which allows any value.

widget_preference

A trait which allows any value.

widget_quick_repr

A trait which allows any value.

widget_repr

A trait which allows any value.

widget_repr_add

A trait which allows any value.

widget_repr_choices

A trait which allows any value.

widget_repr_control_buttons

A trait which allows any value.

widget_repr_name

A trait which allows any value.

widget_repr_parameters

A trait which allows any value.

widget_repr_parameters_dialog

A trait which allows any value.

widget_repr_slider

A trait which allows any value.

widget_tab

A trait which allows any value.

widget_theme

A trait which allows any value.