optionally scale for rows or cols
option to define the legend position in the stack bar figure
this is some embarrassing coding, but until I reimplement this with R, this is it.
Sharon Grim pointed out a bug. now it is fixed.
this is important. if the ENV file has more than one entry for a given unit/sample pair the function now sums the values for each while generating the samples_dict. this makes much more sense and much less error prone.