Skip to content

Commit

Permalink
Merge pull request #126 from jpgill86/fix-grid-additem
Browse files Browse the repository at this point in the history
Fix `'method' object is not connected` error for TimeFreqViewer
  • Loading branch information
jpgill86 committed Jan 11, 2021
2 parents 00cc7e0 + c11880e commit 58ea13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ephyviewer/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def create_plot_grid(graphiclayout, nb_column, visible_channels, ViewBoxClass=pg
#~ plot.showAxis('left', False)
#~ plot.showAxis('bottom', False)

graphiclayout.ci.layout.addItem(plot, r, c) # , rowspan, colspan)
graphiclayout.addItem(plot, r, c) # , rowspan, colspan)
if r not in graphiclayout.ci.rows:
graphiclayout.ci.rows[r] = {}
graphiclayout.ci.rows[r][c] = plot
Expand Down

0 comments on commit 58ea13f

Please sign in to comment.