Comments (3)
That is somewhat odd. The image needs to be greyscale. I guess I should
convert if there are more channels. But that flattening works is a bit
surprising.
On Oct 2, 2014 12:43 AM, "ianhoolihan" [email protected] wrote:
Possibly due to different versions etc, but I need to use
imread("file.png", flatten=True), otherwise mask won't work.—
Reply to this email directly or view it on GitHub
https://github.com/amueller/word_cloud/issues/26.
from word_cloud.
I downloaded and used the alice.png as in your example, and still needed to
flatten it...
On Thu, Oct 2, 2014 at 6:40 PM, Andreas Mueller [email protected]
wrote:
That is somewhat odd. The image needs to be greyscale. I guess I should
convert if there are more channels. But that flattening works is a bit
surprising.
On Oct 2, 2014 12:43 AM, "ianhoolihan" [email protected] wrote:Possibly due to different versions etc, but I need to use
imread("file.png", flatten=True), otherwise mask won't work.—
Reply to this email directly or view it on GitHub
https://github.com/amueller/word_cloud/issues/26.—
Reply to this email directly or view it on GitHub
https://github.com/amueller/word_cloud/issues/26#issuecomment-57586815.
from word_cloud.
can you try again with current master? It should be fixed.
from word_cloud.
Related Issues (20)
- Wheel missing for cpython-311 win-amd64 HOT 2
- fatal error on Fedora37: longintrepr.h: No such file or directory HOT 6
- Is word location geomatrical stability possible
- Wordcloud from .query_integral_image import query_integral_image error on Mac M1 chip HOT 2
- How many top % of words are taken for word cloud? HOT 4
- when will a new pypi version be released? HOT 2
- Performance issues on Ubuntu HOT 3
- Unable to install on Python 3.10 MacBook conda HOT 6
- Unable to install via Python 3.11.2 on windows10 HOT 1
- Only supported for TrueType font HOT 7
- Word Cloud generated from Arabic letters is broken
- Could not build wheels for wordcloud - python 3.11.1 64 bit HOT 12
- how to get reproducible wordclouds (identical, except for image dimensions) HOT 2
- Error on installation HOT 1
- ValueError: Only supported for TrueType fonts HOT 33
- Fails to build with Python 3.12 HOT 2
- Custom and radom Font Size
- Unable to download wordcloud using python3.12 HOT 7
- MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 HOT 1
- MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word_cloud.