Skip to content

Commit

Permalink
remove this
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 23, 2024
1 parent eb87876 commit 4e22677
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions nglview/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ def _set_coordinates(self, index, movie_making=False, render_params=None):
print("no trajectory available")

def set_coordinates(self, arr_dict, movie_making=False, render_params=None):
# type: (Dict[int, np.ndarray]) -> None
"""Used for update coordinates of a given trajectory
>>> # arr: numpy array, ndim=2
>>> # update coordinates of 1st trajectory
Expand Down Expand Up @@ -931,15 +930,6 @@ def download_image(self,
filename,
],
kwargs=params)

def _handle_request_frame(self):
frame = self.frame + 1
if frame > self.max_frame:
frame = 0
elif frame < 0:
frame = self.max_frame
self.frame = frame

def _handle_update_ids(self):
self._ngl_view_id = self._ngl_msg['data']

Expand Down

0 comments on commit 4e22677

Please sign in to comment.