Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson21-diy3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e1d52ead
authored
Jul 08, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
8dd3b008
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 additions
and
1 deletions
1.jpg
2.jpg
2475927f512cf61ad7a11794e021c9f5.jpg
my_cloud.py
mycloud.png
test.png
1.jpg
0 → 100644
View file @
e1d52ead
20.1 KB
2.jpg
0 → 100644
View file @
e1d52ead
158 KB
2475927f512cf61ad7a11794e021c9f5.jpg
0 → 100644
View file @
e1d52ead
257 KB
my_cloud.py
View file @
e1d52ead
...
...
@@ -11,7 +11,7 @@ text = " ".join(txt_list)
w
=
wordcloud
.
WordCloud
(
background_color
=
'white'
,
font_path
=
'SimHei.ttf'
)
w
.
generate
(
text
)
w
.
to_file
(
"test.png"
)
img
=
Image
.
open
(
'
bell.pn
g'
)
img
=
Image
.
open
(
'
2.jp
g'
)
data
=
numpy
.
array
(
img
)
img_colors
=
wordcloud
.
ImageColorGenerator
(
data
)
...
...
mycloud.png
View file @
e1d52ead
212 KB
|
W:
|
H:
235 KB
|
W:
|
H:
2-up
Swipe
Onion skin
test.png
View file @
e1d52ead
72 KB
|
W:
|
H:
82.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment