Skip to content

Commit

Permalink
fix #85
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed May 9, 2020
1 parent 7e4a563 commit f65212f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecogvis/functions/subFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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([])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
Expand Down

0 comments on commit f65212f

Please sign in to comment.