Skip to content

Commit

Permalink
Update ylabel for stem plot
Browse files Browse the repository at this point in the history
  • Loading branch information
morganjwilliams committed May 22, 2020
1 parent 8b7bf0e commit 339a369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interferences/plot/spectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def stemplot(

logger.debug("Plotting {} peaks.".format(table.index.size))
ax = table.loc[:, ["m_z", yvar]].pyroplot.stem(ax=ax, **kwargs)
ax.set_ylabel("Estimated Relative Intensity")

if window is not None:
ax.set_xlim(window)
Expand Down

0 comments on commit 339a369

Please sign in to comment.