I noticed an output that I wanted to bring to your attention.
Following along with your first example if you add return_data=True parameter to produce_scattertext_explorer:
Thanks a lot for the bug report. Those lists are are vestigial, but version 0.0.2.66 contains and update which should make sure these lists contain the correct terms.
Thanks for a great tool!
I noticed an output that I wanted to bring to your attention. Following along with your first example if you add
return_data=True
parameter toproduce_scattertext_explorer
:scatter_text_dict
is created with keys['info','data','docs']
When examining
scatter_text_dict['info']
the value is:You can see the
category_terms
andnon_category_terms
values are the same. Both lists are the list of top terms fornon_category_terms
.There is similar behavior for other examples (e.g., empath_features, etc.)
Your Environment