- Python 3
- Pip 3
$ brew install python3
# web browser and driver option | |
from selenium.webdriver import Chrome, ChromeOptions | |
options = ChromeOptions() | |
options.add_argument('--headless') | |
web_driver = Chrome(executable_path=r'C:\Windows\chromedriver.exe', options=options) |
# try exportation with Bokeh backend to svg | |
from bokeh.io import export_svgs | |
p = hv.render(chord_plot, backend='bokeh') | |
p.output_backend = "svg" | |
export_svgs(p, filename="chord.svg", webdriver=web_driver) |