@staticmethod<EOL><INDENT>def show_dendrogram(dendrogram):<DEDENT>
plt.figure()<EOL>axis = plt.subplot(<NUM_LIT:1>, <NUM_LIT:1>, <NUM_LIT:1>)<EOL>current_position = <NUM_LIT:0><EOL>for index_cluster in range(len(dendrogram)):<EOL><INDENT>densities = [ block.get_density() for block in dendrogram[index_cluster] ]<EOL>xrange = range(current_position, current_position + len(densities))<EOL>axis.bar(xrange, densities, <NUM_LIT:1.0>, linewidth=<NUM_LIT:0.0>, color=color_list.get_color(index_cluster))<EOL>current_position += len(densities)<EOL><DEDENT>axis.set_ylabel("<STR_LIT>")<EOL>axis.set_xlabel("<STR_LIT>")<EOL>axis.xaxis.set_ticklabels([])<EOL>plt.xlim([-<NUM_LIT:0.5>, current_position - <NUM_LIT:0.5>])<EOL>plt.show()<EOL>
!
        @brief Display dendrogram of BANG-blocks.

        @param[in] dendrogram (list): List representation of dendrogram of BANG-blocks.

        @see bang.get_dendrogram()