Skip to content

Commit

Permalink
Uploading 1.54 here.
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakJShetty committed Dec 5, 2020
1 parent d9c9df5 commit 8d29504
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added dist/pyResearchInsights-1.54.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions pyResearchInsights/Visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def topic_builder(lda_model, topic_order, num_topics, num_keywords, textual_data

for topic in topic_order:
'''Progressively generating the figures comprising the weights and frequencies for each keyword in each topic'''
fig, ax = plt.subplots(1, 1, figsize=[20, 15])
_, ax = plt.subplots(1, 1, figsize=[20, 15])
x_axis = [x_axis_element for x_axis_element in range(0, num_keywords)]

'''Creating the x_axis labels here, which is the topic keywords'''
Expand All @@ -70,7 +70,7 @@ def topic_builder(lda_model, topic_order, num_topics, num_keywords, textual_data
'''Here, we make sure that the y_axis labels are equally spaced, and that there are 10 of them'''
word_count_list = [word_count for word_count in df.loc[df.topic_id==topic, 'word_count']]
word_count_increment = (max(word_count_list)/10)
y_axis_labels = [0 + increment*(word_count_increment) for increment in range(0, 10)]
y_axis_labels = [round(0 + increment*(word_count_increment)) for increment in range(0, 10)]

'''Here, we make sure that the y_axis_twin labels are equally spaced, and that there are 10 of them'''
word_importance_list = [word_count for word_count in df.loc[df.topic_id==topic, 'importance']]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name = 'pyResearchInsights', # How you named your package folder (MyLib)
packages = ['pyResearchInsights'], # Chose the same as "name"
version = '1.53', # Start with a small number and increase it with every change you make
version = '1.54', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'End-to-end tool for scientific literature analysis', # Give a short description about your library
author = 'Sarthak J. Shetty', # Type in your name
author_email = '[email protected]', # Type in your E-Mail
url = 'https://github.com/SarthakJShetty/pyResearchInsights', # Provide either the link to your github or to your website
download_url = 'https://github.com/SarthakJShetty/pyResearchInsights/archive/v_153.tar.gz', # I explain this later on
download_url = 'https://github.com/SarthakJShetty/pyResearchInsights/archive/v_154.tar.gz', # I explain this later on
keywords = ['Educational Tools', 'Analysis', 'Scraper', 'Natural Language Processing'], # Keywords that define your package best
install_requires=[ # I get to this in a second
'numpy',
Expand Down

0 comments on commit 8d29504

Please sign in to comment.