Skip to content

Commit 5fd5e6d

Browse files
author
PennyQ
committed
modity the client data
1 parent c88562b commit 5fd5e6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

glue_vispy_viewers/volume/volume_toolbar.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,10 @@ def on_mouse_press(self, event):
9090
# self._vispy_data_viewer.show_status(status_text)
9191

9292
# TODO: vispy_viewer doesn't have client, how to get dendrogram data?
93-
print('visible_data, client.data', self.visible_data, self._vispy_widget.client.data)
94-
for each_data in self._vispy_widget.client.data:
93+
# print('visible_data, client.data', self.visible_data, self._vispy_widget.client.data)
94+
for each_data in self.parent().session.data_collection:
95+
print('each_data', each_data, each_data.label)
96+
# for each_data in self._vispy_widget.client.data:
9597
if each_data.label == 'Dendrogram':
9698
d = each_data
9799

0 commit comments

Comments
 (0)