We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9c84b1 + f977916 commit 401aaa2Copy full SHA for 401aaa2
1 file changed
xpsi/PostProcessing/_spectrum.py
@@ -814,6 +814,7 @@ def _add_registered_spectrum(self, ax, spectrum, **kwargs):
814
""" Add registered spectrum line as a function of channel number. """
815
if not kwargs:
816
kwargs.update(dict(color='k', linestyle='-', lw=0.05, alpha=1.0))
817
+ ax.set_ylim(0.9*_np.min(spectrum),1.1*_np.max(spectrum))
818
elif 'ls' in kwargs:
819
kwargs['linestyle'] = kwargs.pop('ls')
820
0 commit comments