malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
13 stars 23 forks source link

Add render_mode parameter for plotly plotting functions #451

Open alimanfoo opened 9 months ago

alimanfoo commented 9 months ago

Plotly supports a render_mode parameter which allows switching between the default svg and webgl which is more performant for plots with larger numbers of glyphs.

More info here: https://plotly.com/python/webgl-vs-svg/

Propose exposing this as a parameter in functions that use plotly internally and passing through, to enable use of webgl if desired.