-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag statistics #130
Comments
I didn't get it here, after run the script, the yml files should be rewrite, and for the actions show me that this step have been done. Bioimage Analysis: 131 |
@haesleinhuepf Seems this is also finished. |
Not really. I'm still interested in getting this:
|
Yes! git-bob please think about how to write python code for visualizing a word-cloud from a dictionary of python string:int pairs. The number represents how often the string appeared in our dataset and the word-cloud should show popular words accordingly. |
git-bob comment |
This message was generated by git-bob (version: 0.11.0, model: github_models:gpt-4o, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully. To create a word cloud from a dictionary of tag counts, you can use the following Python code. Make sure to install the from wordcloud import WordCloud
import matplotlib.pyplot as plt
# Dictionary of tag statistics
tag_stats = {
'Bioimage Analysis': 131,
'Research Data Management': 76,
'Python': 64,
# Add the rest of your tags...
}
# Generate word cloud
wordcloud = WordCloud(width=800, height=400, background_color='white').generate_from_frequencies(tag_stats)
# Display the word cloud
plt.figure(figsize=(10, 5))
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis('off')
plt.show() This code will generate and display a word cloud based on your tag statistics. You can integrate this into your GitHub workflow to automatically generate and update the word cloud with new data. |
After merging #127 we should look into #101 again. Reason: The tag statistics look different, after data cleaning.
It might also be cool to have the tag statistics on our website, e.g. as a word cloud. Therefore, we need to execute the code in the notebook as part of a github workflow. Therefore we need to convert the notebook into a python script.
The text was updated successfully, but these errors were encountered: