Skip to content
Advertisement

How to plot DENDROGRAM in GUI

I am using a GUI from QtDesigner to plot Dendrogram. My code is below, but I can not plot the Dendrogram, how can I fix it?

JavaScript
JavaScript

Image of Dendrogram:
Image of Dendrogram

Advertisement

Answer

You have to import the dendrogram from scipy:

JavaScript

And then pass it the axes through the ax argument:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement