-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Dear FlowKit team,
While Bokeh plots allow for interactivity, it is a bit complicated to export them as pdf.
Single plots as generated by the session.plot_gate and session.plot_scatter functions can be converted to svg, read with svglib and then saved as pdf using the renderPDF module.
If plots are combined, this is not possible, as a bokeh.layouts object cannot be converted to svg. Here, the layout can be converted to html and then to pdf using a headless browser setup.
I have build an implementation of these features and would like to add them to the package.
Another option would be to add matplotlib as an alternative to bokeh.
As I am not yet fully familiar with bokeh, I might be missing something.
I am looking forward to your opinions and feedback!