Wasim Lorgat
Wasim Lorgat
I think part of this is just how Python works. Since the script is named `plotly`, when you do `import plotly.express` it's actually importing the script and failing because it's...
Here's the source code for the "actions" in this menu: https://github.com/vega/vega-embed/blob/c3b6c19bad7054e6a5ec0f3ca2647a888b4aac00/src/embed.ts#L488. We could also choose which actions to show via the `actions` [option](https://github.com/vega/vega-embed/tree/c3b6c19bad7054e6a5ec0f3ca2647a888b4aac00?tab=readme-ov-file#options).
Thank you for the feedback @fmichonneau! I am able to repro this and it is quite frustrating, sorry about that. We will investigate!
@kylebutts shared some very useful context about this format in https://github.com/posit-dev/positron/pull/3858.
@tombh I have a PR in our repo (https://github.com/posit-dev/positron/pull/6219) and a unit test but haven't validated it end to end. I haven't tried v2 yet. We had to make a...
@alcarney Thank you for the tips! Using a subprocess won't be easy since we'd need to read some data across processes, but we'll try `@server.thread()` and see how that goes....
In hindsight, this is working as expected: sync handlers are not cancellable. I'm happy for this issue to be closed. EDIT: It is a potential sharp edge for people to...
I'm surprised we didn't get this for free e.g. our plot hook seems to get called if I do: ```python import numpy as np, matplotlib.pyplot as plt, pandas as pd...