I'm very, very late to the party, but I found through SciPy's dendrogram link that the icoord output is from a data structure returned after calling the dendrogram function. Just assign a variable to the function call. The dendrogram is still displayed but that long output is not shown.
ex: icoord_list = dendrogram(Z, labels="your labels")