add.color.bar checks whether it has an argument fsize, and if so, uses it to scale the font of the color bar. But plotBranchbyTrait, which calls add.color.bar, is hardcoded to not pass it an fsize value. I think that could be addressed e.g. by duplicating the lines
from the scope of add.color.bar into the scope of plotBranchbyTrait too, and then passing fsize as an argument to the call of add.color.bar.
Thanks for the great tool!
I just addressed this by letter cex be a numeric vector in which the first element is the tip label font size and the second element is the legend font size.
add.color.bar
checks whether it has an argumentfsize
, and if so, uses it to scale the font of the color bar. ButplotBranchbyTrait
, which callsadd.color.bar
, is hardcoded to not pass it anfsize
value. I think that could be addressed e.g. by duplicating the linesfrom the scope of
add.color.bar
into the scope ofplotBranchbyTrait
too, and then passingfsize
as an argument to the call ofadd.color.bar
. Thanks for the great tool!