-
Notifications
You must be signed in to change notification settings - Fork 239
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
Updated scatterplot docstring, also top_words docstring. Closes #100 #104
Updated scatterplot docstring, also top_words docstring. Closes #100 #104
Conversation
Hi, I actually believe this is a bad idea. With this, users would have to visualize the returned plot for themselves. I think it's much nicer if
This is what we implemented in #107 , please have a look and maybe consider closing this if you agree. Thanks, |
Hi, I fail to understand how returning 2 plots can help the user. Could you explain a bit more? Thanks. |
Yes, I'll clarify: We have two things:
If we return the plot with Consider the following example:
So |
@henrifroese Thank you for explaining! I understood now. Closing this pull request since you're already working on it. |
Hey @lydz1209, what does that mean? |
In
scatterplot
, also made a change to the argumentreturn_figure
, by default it was set toFalse
, but it still returns the figure, why? Becausefig.show()
was not commented out and it makes more sense to put the default asTrue
because the function is built to return thescatterplot
. Hence, settingreturn_figure
asTrue
.Changed the grammar in
top_words
function.For
scatterplot
andtop_words
, I followednumpy docstring guide
as provided in theCONTRIBUTING.md
and also anexample
fromnumpy docstring guide
.Closes #100