Commit 48f653ec authored by Yan's avatar Yan
Browse files

Minor fixes - both DRL and graphtools

parent 6d5adf9e
......@@ -400,7 +400,7 @@ def export_drlspectrum(parent, fn, ds, drls):
names, times, intensities = get_daughterset(ds, drls)
subset = np.where(times > 0)[0]
times = times[subset]
intensities = intensities[subset]
intensities = list(map(lambda x: x[subset], intensities))
pnames, ptimes, pintensities = get_parentset(ds, drls)
if names == []:
......
......@@ -103,6 +103,8 @@ def plot_subtime(mpl_spectrum, mpl_chromatogram, data_set, mass_spect,
mpl_spectrum.set_xlim(slims[0])
if mass_spect['autoy'] is False:
mpl_spectrum.set_ylim(slims[1])
else:
autozoomy(mass_spect['autoy'], mpl_spectrum, mass_spect)
mpl_chromatogram.clear()
pop_plot(mpl_chromatogram, chrom_spect)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment