Skip to content

Commit

Permalink
update plotTIC to use labelBy
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesands committed Jul 31, 2024
1 parent 6167a0d commit 250ca43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nPYc/plotting/_plotTIC.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def plotIntensityInteractive(dataset,
# Data preparation
ns = len(msData.sampleMask)
classes = msData.sampleMetadata[colourBy]
hovertext = msData.sampleMetadata['Sample File Name'].str.cat(classes.astype(str), sep='; ' + colourBy + ': ')
hovertext = msData.sampleMetadata['Sample File Name'].str.cat(msData.sampleMetadata[labelBy].astype(str), sep='; ' + labelBy + ': ')
plotnans = classes.isnull().values
data = []

Expand Down

0 comments on commit 250ca43

Please sign in to comment.