Perhaps it would be helpful to create a function `some_name(filename)` which returns a string of the dendogram.  Then, you could include an example script that calls and prints its output.  If this module is to be included as part of the library, it won't be called as a script very often.