x-tabdeveloping / topicwizard

Powerful topic model visualization in Python
https://x-tabdeveloping.github.io/topicwizard/
MIT License
96 stars 13 forks source link

Plots on the right side of Topics page are empty #10

Closed aleticacr closed 10 months ago

aleticacr commented 1 year ago

Hi! Thank you for such a useful innovation! I'm attempting to visualise the topic modelling of 100 short texts (phrases). The code has worked fine, but once I try to visualise, the plots that are supposed to appear on the right side of the Topics page are empty. I thought that less components (i.e., less topics) could make it work, but an additional error comes up in the code when trying with 3 components.

Screenshot 2023-04-30 at 14 52 26

x-tabdeveloping commented 1 year ago

Can you give me your logs and error messages? Maybe also a reproducible sample of code (and perhaps data if it isn't a GDPR problem), so I can try yo debug.

IvanlSan commented 1 year ago

The same thing happened to me, what I see is that the internet tab where the dasboard is displayed shows the message updating... and it doesn´t finish loading git

x-tabdeveloping commented 1 year ago

Can you please provide an error stack trace and also details about what topic model you used with what kind of data? I won't be able to help or fix this bug without further details.

x-tabdeveloping commented 1 year ago

Also can you try the standalone plot and see how that behaves?

from topicwizard.figures import topic_barcharts

topic_barcharts(corpus=texts, pipeline=pipeline, top_n=5)
x-tabdeveloping commented 10 months ago

I believe 0.5.0 fixes this.