how to plot axis invisible while plotting wordcloudHow to merge two dictionaries in a single expression?How do I check if a list is empty?How do I check whether a file exists without exceptions?How can I safely create a nested directory?Convert bytes to a string?How do I sort a dictionary by value?Converting integer to string in Python?Proper way to declare custom exceptions in modern Python?How do I list all files of a directory?Why is reading lines from stdin much slower in C++ than Python?
Crossing US border with music files I'm legally allowed to possess
What are the benefits of cryosleep?
How can people dance around bonfires on Lag Lo'Omer - it's darchei emori?
How to capture more stars?
Looking for a soft substance that doesn't dissolve underwater
What are these arcade games in Ghostbusters 1984?
At what point in European history could a government build a printing press given a basic description?
Is healing by fire possible?
Is the first derivative operation on a signal a causal system?
What is the object moving across the ceiling in this stock footage?
Where is the encrypted mask value?
Would jet fuel for an F-16 or F-35 be producible during WW2?
Should I disclose a colleague's illness (that I should not know about) when others badmouth him
How to convert to standalone document a matrix table
How to prevent bad sectors?
Can a Beholder use rays in melee range?
Were pens caps holes designed to prevent death by suffocation if swallowed?
Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?
Can you heal a summoned creature?
Ticket sales for Queen at the Live Aid
When do characters level up?
Dictionary size reduces upon increasing one element
Where is the logic in castrating fighters?
Is there a down side to setting the sampling time of a SAR ADC as long as possible?
how to plot axis invisible while plotting wordcloud
How to merge two dictionaries in a single expression?How do I check if a list is empty?How do I check whether a file exists without exceptions?How can I safely create a nested directory?Convert bytes to a string?How do I sort a dictionary by value?Converting integer to string in Python?Proper way to declare custom exceptions in modern Python?How do I list all files of a directory?Why is reading lines from stdin much slower in C++ than Python?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Method plt.axis() shows error as string object is not callable
I tried to re run the code to check if any plt axis is already used but invain
python
add a comment |
Method plt.axis() shows error as string object is not callable
I tried to re run the code to check if any plt axis is already used but invain
python
2
Are you usingmatplotlib
?
– JohanL
Mar 24 at 7:38
add a comment |
Method plt.axis() shows error as string object is not callable
I tried to re run the code to check if any plt axis is already used but invain
python
Method plt.axis() shows error as string object is not callable
I tried to re run the code to check if any plt axis is already used but invain
python
python
asked Mar 24 at 7:21
Surendra SawantSurendra Sawant
162
162
2
Are you usingmatplotlib
?
– JohanL
Mar 24 at 7:38
add a comment |
2
Are you usingmatplotlib
?
– JohanL
Mar 24 at 7:38
2
2
Are you using
matplotlib
?– JohanL
Mar 24 at 7:38
Are you using
matplotlib
?– JohanL
Mar 24 at 7:38
add a comment |
1 Answer
1
active
oldest
votes
plt.figure(figsize=(12,10),facecolor = 'none', edgecolor='white')
plt.imshow(lem_word_cloud)
plt.title("Lemming Cloud of Train Data")
plt.axis("off")
plt.show();
"still not sure why was the error. Now it is working after restarting"
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321566%2fhow-to-plot-axis-invisible-while-plotting-wordcloud%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
plt.figure(figsize=(12,10),facecolor = 'none', edgecolor='white')
plt.imshow(lem_word_cloud)
plt.title("Lemming Cloud of Train Data")
plt.axis("off")
plt.show();
"still not sure why was the error. Now it is working after restarting"
add a comment |
plt.figure(figsize=(12,10),facecolor = 'none', edgecolor='white')
plt.imshow(lem_word_cloud)
plt.title("Lemming Cloud of Train Data")
plt.axis("off")
plt.show();
"still not sure why was the error. Now it is working after restarting"
add a comment |
plt.figure(figsize=(12,10),facecolor = 'none', edgecolor='white')
plt.imshow(lem_word_cloud)
plt.title("Lemming Cloud of Train Data")
plt.axis("off")
plt.show();
"still not sure why was the error. Now it is working after restarting"
plt.figure(figsize=(12,10),facecolor = 'none', edgecolor='white')
plt.imshow(lem_word_cloud)
plt.title("Lemming Cloud of Train Data")
plt.axis("off")
plt.show();
"still not sure why was the error. Now it is working after restarting"
answered Mar 24 at 13:03
Surendra SawantSurendra Sawant
162
162
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55321566%2fhow-to-plot-axis-invisible-while-plotting-wordcloud%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Are you using
matplotlib
?– JohanL
Mar 24 at 7:38