humlab / penelope

Pipleline for generating data used in text analytics notebooks. Used by Welfare State Analytics, INIDUN and several other research projects.
5 stars 1 forks source link

Topic-Topic Network: Non-numeric node name raises type error #203

Open roger-mahler opened 6 months ago

roger-mahler commented 6 months ago

Network plot woth labels topics data returns a type error. This is caused by explicit cast of topic label to integer during plot.

https://github.com/humlab/penelope/blob/2900c3b5f653af26c44f868b1b6db5c91fa887cb/penelope/network/plot_utility.py#L127