[BUG] pygwalker upload chart feature
- Dominant language
- Python
- Stars
- 16k
- Forks
- 889
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When running code in .py file, upload chart function, it will crash after clicking, but the upload is successful.
**To Reproduce**
Steps to reproduce the behavior:
1. Run the code.
2. Click on 'save'

3. Choose 'upload chart'
4. Click 'upload'

5. It crashes. But upload is successful.

**Expected behavior**
Hope not crashing.
**Versions**
- pygwalker version: 0.4.9.14
- python version: 3.12.9
- browser: chrome
**Additional context**
It will not happen if running the code in a .ipynb file.
My guess about this issue is that whenever a web page wants a notification bar like the one shown below to appear, it will crash.

Contributor guide
Research direction
Reproduce the upload-chart flow from a .py file using pygwalker 0.4.9.14, Python 3.12.9, and Chrome, then compare it with the same flow from a .ipynb file. Inspect the notification-bar behavior after clicking Upload; done means the chart uploads without the page crashing in the .py workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100