interpreting-rl-behavior / interpreting-rl-behavior.github.io

Code for the site https://interpreting-rl-behavior.github.io/
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Clip PCA bar chart maxima #16

Closed leesharkey closed 2 years ago

leesharkey commented 2 years ago

Changing the scale of the bar chart for every sample complicates interpretation.

Fortunately,

It would therefore be nice if the bar chart kept a constant scale that used +/- 6 as its maximal values.

NixGD commented 2 years ago

Changed default behaviour to [-6, 6]. To alter behaviour for a specific panel, you can pass in barChartOptions: {ylims: [min, max]} or barChartOptions: {ylims: null} for autoscaling.