Is there a way to "refresh" a PerspectiveWidget
after it's underlying Table
has been updated?
#1490
Replies: 2 comments
-
Currently replace and clear don’t fully work in the PerspectiveWidget (which uses client/server mode). You can pass server=True to the widget constructor and it should work.
On Jul 26, 2021, at 11:02 AM, Dave Hirschfeld ***@***.***> wrote:
In JupyterLab when I call psp.Table.replace(new_data: pd.DataFrame) to update a table with new data, the PerspectiveWidget referencing the table isn't updated to reflect the changes until I call display. If I call display on the widget again it resets the state of the sidebar which I'd like to avoid.
Is the some way to get the PerspectiveWidget to reflect, in the UI, changes to it's underlying Table (short of calling display again)?
Is it a bug that the toggle state of the sidebar is reset when display is called?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1490>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADE3TK6N55BDX7UH6PXOT2LTZTF4PANCNFSM5A7GTADA>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dhirschfeld
-
Works like charm - thanks @sc1f! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In JupyterLab when I call
psp.Table.replace(new_data: pd.DataFrame)
to update a table with new data, thePerspectiveWidget
referencing the table isn't updated to reflect the changes until I calldisplay
. If I calldisplay
on the widget again it resets the state of the sidebar which I'd like to avoid.Is the some way to get the
PerspectiveWidget
to reflect, in the UI, changes to it's underlyingTable
(short of callingdisplay
again)?Is it a bug that the toggle state of the sidebar is reset when
display
is called?Beta Was this translation helpful? Give feedback.
All reactions