Hmmm this is a little big misleading, the check in line 81 deals with the case where no OTU table is passed, that is any type of plot that is not a biplot, hence it returns empty values for the formatters to print empty variables in javascript. While the check in line 85 tries to catch cases where a contingency table was passed but has one or fewer rows in it.