Changelog
Dev
- MIGRATION: only support ipywidgets >= 5.2
- ADD: ngl v0.8
 
Version 0.5.2
- ADD: nglviewcommand line for quickly opening notebook.
- ADD: add_textto display
- FIX: view.background assignment.
 
Version 0.5.1
- FIX: correctly handle player when adding a structure first
- FIX: cleaned-up outdated notebooks
 
Version 0.5

- ADD: basic use of binary messages for faster coordinate data transfer
- ADD: updated to newer NGLversion, (e.g. orthographic camera,
anti-aliasing, much faster rendering, ...)
- ADD: view.delayproperty to adjust trajectory playback
- ADD: show_urlfunction for loading & viewing from an url
- ADD: view.hide()andview.show_only()convenience methods
- ADD: show_rdkitfunction to view rdkit Mol objects
- ADD: view.clear()for clearing all representations
- ADD: view.add_unitcell(), support for the new NGL unitcell
representation
- ADD: automatic creation of attributes: view.trajectory_0,view.trajectory_1,view.component_0, ...
- ADD: specify componentindex inview.add_representations,view.clear_representations
- ADD: drag and drop files into widget
- ADD: extra TrajectoryPlayer widget available via view.player
- ADD: view.cameraproperty (perspectiveandorthographic,
new in NGL)
- ADD: view.backgroundproperty to change the viewer background
(color name or hex value)
- ADD: view.orientationproperty to synchronize cameras of two
viewer widgets
- ADD: view multiple trajectories via view.add_trajectory(),view.add_component()
- ADD: view.download_image()to render high quality image and
trigger download in browser
- ADD: view.render_image()to render image for display in the
notebook
- ADD: view.center_view()to center
- ADD: select atoms by their indices, given as a List
- ADD: shortcuts for view.add_representation (view.add_cartoon,
view.add_rope, ...)
- ADD: ParmEdTrajectoryadaptor andshow_parmedfunction to
view ParmEd objects
- ENH: view.add_trajectorynow acceptpytraj.Trajectory,mdtraj.Trajectory,MDAnalysis.Universe,parmed.Structure
- ENH: view.add_representations now accepts keywords in both
snake_case and CamelCase
- ENH: smoother trajectory playing
- ENH: smoother rendering when adding new representation
- MIGRATION: change html/static to js/
- MIGRATION: change sending base64 to binary coordinates
- MIGRATION: change view.trajectorytoview.trajlist
- MIGRATION: change get_frame_countmethod ton_framesproperty
- MIGRATION: remove get_coordinates_dict
- FIX: symlink error
 
Version 0.4

- ADD: Convenience methods to show widget from various sources
- ADD: PyTrajTrajectoryadaptor
- ADD: MDAnalysisTrajectoryadaptor
- ADD: NGLWidget.add_representation()method
- ADD: append a “WebGL not supported message” to widget if so
- ADD: parameterswidget property, passed to NGL stage object
- ADD: paramsproperty forStructure, dict passed to NGL
- CODE: be less noisy when importing nglview
- DOC: more usage examples, API description
- DOC: added CHANGELOG file
- BUILD: added example files in the package
 
Version 0.3

- MIGRATION: Trajectoryclasses needget_frame_countmethod
- MIGRATION: removed set_framemethod use newframeproperty
- ADD: simple trajectory player
- ADD: widget resizing support
- ADD: picking support (gui info; pickedproperty)
- CODE: check for file existence in FileStructureandSimpletrajTrajectory
 
Version 0.2
- MIGRATION: changed get_stringtoget_structure_string
- MIGRATION: changed get_coordinatestoget_coordinates_list
- DOC: usage, interface classes
- ADD: MDTrajTrajectory adaptor
- CODE: added interface classes
- CODE: suggested packages; mdtraj, simpletraj
 
Version 0.1
- initial version, no release