Permalink
Browse files

fix clear_representation -> removeAllRepresentations (#631)

  • Loading branch information...
1 parent 21a472b commit d74a8fca983ccfac81f411d3fa8531831f69640c @hainm hainm committed on GitHub Jul 10, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 nglview/widget.py
View
@@ -692,7 +692,7 @@ def clear_representations(self, component=0):
You need to keep track how many components you added.
'''
self._remote_call(
- "clearRepresentations",
+ "removeAllRepresentations",
target='compList',
kwargs={'component_index': component})

0 comments on commit d74a8fc

Please sign in to comment.