We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import ipywidgets as widgets import ipysheet output = widgets.Output() table = ipysheet.Sheet(rows=1, columns=2) cell = ipysheet.Cell(value=("", ""), row_start=0, row_end=0, column_start=0, column_end=1, squeeze_column=False, squeeze_row=True) table.cells = cell, def observer(change): with output: print(change) cell.observe(lambda change: observer(change.new), names='value') cell.value = ('a', 'b') output
prints
('a', 'b') ['a', 'b']
This is probably a side-effect of serialization.
A simple workaround is to use lists, but this is somewhat inconsistent: Sheet.cells is a Tuple so I figured Cell.value would be as well.
Sheet.cells
Tuple
Cell.value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
prints
This is probably a side-effect of serialization.
A simple workaround is to use lists, but this is somewhat inconsistent:
Sheet.cells
is aTuple
so I figuredCell.value
would be as well.The text was updated successfully, but these errors were encountered: