Closed LauwXiang closed 1 month ago
I can only resolve the following issue by uninstalling both bertopic and datamapplot, and then reinstalling bertopic.
Just to be sure I understand this specific statement correctly. It works when you start from a fresh environment and installing BERTopic and DataMapPlot there?
Hello, the issue has been resolved by downgrading DataMapPlot from version 0.4.0 to 0.3.0. Thank you for your reply.
Have you searched existing issues? 🔎
Desribe the bug
When I try to use
fig = topic_model.visualize_document_datamap(texts, embeddings=embeddings) fig.savefig("file.png")
I encounter the following error.Even after I installed datamapplot, I still get the above error. Moreover, after restarting the computer and trying to run it again, the following error appears as well. I can only resolve the following issue by uninstalling both bertopic and datamapplot, and then reinstalling bertopic.
Reproduction
No response
BERTopic Version
0.16.3