This adds a new plot_options dictionary to visualize.data_mc which allows configuring figure options per region. The normalize_binwidth setting takes a reference width (as a number) and a unit (as a string) to then normalize the distribution accordingly. An example looks like this:
ensure that this design is the right direction to go (could also support log settings per region in this fashion)
tests
consider also adding x-axis label setting and bin edge values (useful for workspaces built externally), could also be follow-up PR
* add new plot_options setting to allow customizing figures per region in visualize.data_mc
* support bin width normalization via normalize_binwidth setting in plot_options
This adds a new
plot_options
dictionary tovisualize.data_mc
which allows configuring figure options per region. Thenormalize_binwidth
setting takes a reference width (as a number) and a unit (as a string) to then normalize the distribution accordingly. An example looks like this:to-do: