Skip to content

Commit ecbd7b0

Browse files
Update theoreticalspectrumgenerator.rst
1 parent b60c960 commit ecbd7b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/theoreticalspectrumgenerator.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ which you again can visualize with:
113113
import matplotlib.pyplot as plt
114114
plt.bar(spec2.get_peaks()[0], spec2.get_peaks()[1], snap=False) # snap ensures that all bars are rendered
115115
plt.xlabel("m/z")
116-
plt.ylabel("intensity")
116+
plt.ylabel("intensity")
117+
118+
.. image:: img/DFPIANGER_theo_full.png
117119

118120
The first example shows how to put peaks of a certain type, y-ions in this case, into
119121
a spectrum. The second spectrum is filled with a complete fragment ion spectrum

0 commit comments

Comments
 (0)