diff --git a/ecogvis/functions/subFunctions.py b/ecogvis/functions/subFunctions.py index 7081dd1..db32ad7 100755 --- a/ecogvis/functions/subFunctions.py +++ b/ecogvis/functions/subFunctions.py @@ -302,6 +302,7 @@ def TimeSeries_plotter(self): stimName = self.parent.combo4.currentText() stimData = self.stimY[stimName] plt3.plot(self.stimX[xmask], stimData[xmask], pen='k', width=1) + plt3.setYRange(np.min(stimData), np.max(stimData)) plt3.setXLink(plt2) except: # THIS IS MOMENTARY TO PLOT ARTIFICIAL DATA-- REMOVE LATER stimName = self.parent.combo4.currentText() @@ -310,7 +311,6 @@ def TimeSeries_plotter(self): # remove this later ------------------------------------------- plt3.setLabel('left', 'Stim') - plt3.setYRange(np.min(stimData), np.max(stimData)) plt3.getAxis('left').setWidth(w=53) plt3.getAxis('left').setStyle(showValues=False) plt3.getAxis('left').setTicks([]) diff --git a/setup.py b/setup.py index 4d168d7..cac7019 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ install_requires=['PyQt5', 'matplotlib', 'cycler', 'scipy', 'numpy', 'h5py', 'pyqtgraph', 'pandas', 'pynwb>=1.1.2', 'PyYAML', 'nwbext_ecog==0.7.2', 'ndx-spectrum', - 'pyopengl', 'process_nwb'], + 'pyopengl', 'process_nwb'], entry_points={ 'console_scripts': ['ecogvis=ecogvis.ecogvis:main'], }