code: function(max) {
      // TODO!
      // make seqlogo height configurable
      var val = this.getMaxAlignmentHeight();
      if (max !== undefined && max > 0) {
        val = Math.min(val, max);
      }
  
      return this.set("alignmentHeight", val);
    }
docs: max is the maximal allowed height