arviz icon indicating copy to clipboard operation
arviz copied to clipboard

plot_trace to plot radial charts for circular variables with Bokeh

Open sarinac opened this issue 2 years ago • 0 comments

Tell us about it

Bokeh should plot radial chart for circular variables now that it supports polar coordinates.

Example

From Example Gallery: https://python.arviz.org/en/latest/examples/plot_trace_circ.html

Matplotlib (expected look) image

Bokeh

import arviz as az
data = az.load_arviz_data("glycan_torsion_angles")
az.plot_trace(data, var_names=["tors", "E"], circ_var_names=["tors"], backend="bokeh")
image

sarinac avatar Sep 11 '22 05:09 sarinac