TopicsExplorer icon indicating copy to clipboard operation
TopicsExplorer copied to clipboard

Row labels off in document-topics heatmap

Open frederik-elwert opened this issue 6 years ago • 3 comments

I noticed that in my test corpus, the row (document) labels are off in the document-topics heatmap visualisation: The labels start a few lines below the top, and at the bottom they “overshoot” the matrix. The tooltip shows that the row refers to a different document.

topic_explorer_heatmap

frederik-elwert avatar Nov 28 '18 13:11 frederik-elwert

Thank you for the bug report, this is interesting! In this case you can only rely on the tooltip information.

How extensive is your corpus? The library we use to create the heatmap, ApexCharts.js, has only been implemented recently, so we haven't tested it much yet. Apparently the filenames are quite long (and partly cropped?), I suspect it could be that. However, we will try to reproduce this behavior.

severinsimmler avatar Nov 29 '18 10:11 severinsimmler

The corpus contains almost 2000 documents.

The longest file name is 86 characters long:

2023_muslim-women-who-suffer-family-violence-in-singapore-can-seek-recourse-%c2%ad.txt

(I guess I could shorten the file names, but they were produced automatically, so I didn’t bother.)

frederik-elwert avatar Nov 29 '18 15:11 frederik-elwert

same problem with around 200 texts. Although it is only off by 2 rows.

MHuberFaust avatar Jan 23 '19 12:01 MHuberFaust