scikit-learn-contrib / hdbscan

A high performance implementation of HDBSCAN clustering.
http://hdbscan.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2.81k stars 507 forks source link

Added ability to specify figsize for matplotlib #578

Open jzking opened 1 year ago

jzking commented 1 year ago

Plot size variable added to CondensedTree.plot to pass to matplotlib.figsize for convenience.

lmcinnes commented 1 year ago

I think in practice if you specify a particular plot size then you probably want to create a new figure and specify the figsize explicitly for the figure on creation.

jzking commented 1 year ago

My apologies but I am not very well versed in matplotlib nuances. However, I thought specifying plot size in the call to plot made intuitive sense. Perhaps the way I'm implementing it here is not appropriate for general users.