- Python 3
- Pip 3
$ brew install python3| # 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) |
| # 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) |