API NGLView#

add_arrows(view[, origin, end, vectors, ...])

Adding arrows to a view.

add_contacts(view[, selection, ...])

Add contact cylinders between atom pairs to an NGLview widget.

add_cylinders(view[, bottom, top, vectors, ...])

Add cylinders to an NGLview widget to depict bonds or vectors.

add_hbonds(view, hbonds[, selection, ...])

Render hydrogen bonds as cylinders on an NGLview widget.

clear(view[, skip_digestion])

load_html_in_jupyter_notebook(filename)

Load an NGLview HTML export inside a Jupyter notebook.

set_color_by_value(view, values[, element, ...])

Adding a new representation colored by a color scale.

set_color(view, color[, selection, syntax])

show_as_balls_and_sticks(view[, selection, ...])

show_as_cartoon(view[, selection, color, ...])

show_as_licorice(view[, selection, ...])

show_as_surface(view[, selection, opacity, ...])

show_gui(view)

standardize_view(view[, atom_indices, ...])

write_html(view, output_filename)