pygwalker icon indicating copy to clipboard operation
pygwalker copied to clipboard

The Clipboard API has been blocked in this environment. Please copy manually.

Open ducjeremyvuucm opened this issue 1 year ago • 1 comments

I can't copy the code export inside pygwalker to setup a pre configured pygwalker view.

Context

I tried to copy the code, but it says "The Clipboard API has been blocked in this environment. Please copy manually." Then opens another editor where I am supposed to copy the content, but copying does not work.

Process

  1. Open Dataset with Pygwalker
  2. Creating a Graph
  3. Copying the code

Expected result

Able to copy the code

Current result

Nothing in the clipboard

Possible Fix

no idea to be honest.

Clipboard Disbaled screenshot

Screenshot 2023-05-11 at 14 44 07


I used Jupyter Notebook inside VSCode on a MacBook Air M2 latest OS.

ducjeremyvuucm avatar May 11 '23 12:05 ducjeremyvuucm

Sorry, forgetting to reply.

vscode will have some limitations, I have not found a good way to solve it.

Currently, you can use pyg.walk(df, spec="./config_0.json") to save conifg in local json file.

longxiaofei avatar Sep 08 '23 01:09 longxiaofei