Skip to content
New issue

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

Can sankey plot be converted to vectorgraph like pdf or SVG file? #51

Open
ZongzhiWu opened this issue Dec 13, 2022 · 1 comment
Open

Comments

@ZongzhiWu
Copy link

Vector graphics are essential for organizing the figures in manuscript. Can sankey plot be converted to vectorgraph like pdf or SVG file? Thanks a lot!

@ZongzhiWu
Copy link
Author

ZongzhiWu commented Dec 13, 2022

When I run the command 'snapshot sankey.html svg', I come across the following bug:
Generating file ...
Traceback (most recent call last):
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/bin/snapshot", line 8, in
sys.exit(main())
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 86, in main
asyncio.get_event_loop().run_until_complete(_main())
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 109, in _main
file_name, output, delay=delay, pixel_ratio=pixel_ratio
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 130, in make_a_snapshot
file_name, file_type, pixel_ratio, delay
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 169, in async_make_snapshot
return await get_echarts(to_file_uri(html_path), snapshot_js)
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyecharts_snapshot/main.py", line 173, in get_echarts
browser = await launch()
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyppeteer/launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyppeteer/launcher.py", line 168, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/gpfs/share/home/2201112334/miniconda3/envs/pyechart/lib/python3.7/site-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant