Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ jupytext>=1.2.0rc0 | |
jupyterlab>=1.0 | ||
plotly | ||
matplotlib | ||
wordcloud | ||
pandas | ||
wbdata | ||
bash_kernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This is a notebook that I used to generate Jupytext's word cloud. | ||
# To open this script as a notebook in JupyterLab, right-click on this file, and select _Open with/Notebook_. | ||
|
||
from wordcloud import WordCloud | ||
|
||
text = """ | ||
Jupytext | ||
Notebook | ||
JupyterLab | ||
Git | ||
GitHub | ||
Version control | ||
Markdown | ||
R Markdown | ||
Text | ||
Scripts | ||
Code | ||
Notebook Template | ||
Binder | ||
Visual Studio Code | ||
PyCharm | ||
Atom | ||
Spyder | ||
Hydrogen | ||
RStudio | ||
Sphinx-Gallery | ||
Documentation | ||
black | ||
pytest | ||
autopep8 | ||
Metadata | ||
Reproducible research | ||
R | ||
Julia | ||
Python | ||
Bash | ||
Powershell | ||
Scala | ||
Scheme | ||
Clojure | ||
Matlab | ||
Octave | ||
C++ | ||
q/kdb+ | ||
IDL | ||
TypeScript | ||
Javascript | ||
Scala | ||
Rust | ||
Robot Framework | ||
""" | ||
|
||
wordcloud = WordCloud( | ||
random_state=1, | ||
background_color='white', | ||
width=1200, height=500 | ||
).generate_from_frequencies({word: 1 for word in text.splitlines()}) | ||
|
||
wordcloud.to_image() | ||
|
||
wordcloud.to_file('../docs/jupytext_word_cloud.png') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.