Skip to content

Commit

Permalink
Fix typo in Python table tutorial (#6740)
Browse files Browse the repository at this point in the history
Fix for #6732
  • Loading branch information
benmccann authored and scottdraves committed Jan 30, 2018
1 parent 1262b64 commit 57f8b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/python/TableAPI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@
"display = TableDisplay(mapList4)\n",
"\n",
"#set what happens on a double click\n",
"display.setDoubleClickAction(lambda row, column, tabledispaly: tabledispaly.values[row].__setitem__(column, sum(tabledispaly.values[row])))\n",
"display.setDoubleClickAction(lambda row, column, tabledisplay: tabledisplay.values[row].__setitem__(column, sum(tabledisplay.values[row])))\n",
"\n",
"#add a context menu item\n",
"display.addContextMenuItem(\"negate\", lambda row, column, tabledispaly: tabledispaly.values[row].__setitem__(column, -1 * tabledispaly.values[row][column]))\n",
"display.addContextMenuItem(\"negate\", lambda row, column, tabledisplay: tabledisplay.values[row].__setitem__(column, -1 * tabledisplay.values[row][column]))\n",
"\n",
"display"
]
Expand Down

0 comments on commit 57f8b95

Please sign in to comment.