Skip to content

Commit

Permalink
remove index from tooltips
Browse files Browse the repository at this point in the history
plotly tooltips index does not seem reproducible with the "by" column so remove this from the
chromatogram plot and update snapshots.
  • Loading branch information
jcharkow committed Dec 17, 2024
1 parent d7cd740 commit 1f0763b
Show file tree
Hide file tree
Showing 7 changed files with 6,177 additions and 9,493 deletions.
4 changes: 3 additions & 1 deletion pyopenms_viz/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,9 @@ def plot(self):
tooltip_entries["annotation"] = "Annotation"
if "product_mz" in self.data.columns:
tooltip_entries["product m/z"] = "product_mz"
tooltips, custom_hover_data = self._create_tooltips(tooltip_entries)
tooltips, custom_hover_data = self._create_tooltips(
tooltip_entries, index=False
)

linePlot = self.get_line_renderer(data=self.data, config=self._config)

Expand Down
Loading

0 comments on commit 1f0763b

Please sign in to comment.