Skip to content

Commit

Permalink
Added comment to clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 30, 2018
1 parent ec74606 commit 8250312
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions glue/viewers/scatter/layer_artist.py
Expand Up @@ -219,6 +219,10 @@ def _update_data(self, changed):

if self.state.markers_visible:
if self.state.density_map:
# We don't use x, y here because we actually make use of the
# ability of the density artist to call a custom histogram
# method which is defined on this class and does the data
# access.
self.density_artist.set_xy([1, 2, 3], [4, 5, 6])
self.plot_artist.set_data([], [])
self.scatter_artist.set_offsets(np.zeros((0, 2)))
Expand Down

0 comments on commit 8250312

Please sign in to comment.