Skip to content

Commit

Permalink
fixup when setting catalog in StarPlot (check dtype too)
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Nov 26, 2024
1 parent 341ceb8 commit d8b0319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aperoll/widgets/star_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ def set_catalog(self, catalog):
if (
self._catalog is not None
and (len(self._catalog) == len(catalog))
and (self._catalog.dtype == catalog.dtype)
and np.all(self._catalog == catalog)
):
return
Expand Down

0 comments on commit d8b0319

Please sign in to comment.