-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
sns.barplot in EDA #220
Comments
hi @gexahedron, input parameter names for functions are optional here (plotting order is usually well understood) but you are more than welcome to use them explicitly. The output will be the same for both. However, I do normally advocate being verbose for custom function we create and use. |
What i want to say, is that your code doesn't work for me: |
Hi @gexahedron, hmm I'm able to run through all of the code and it produces the plot I'm looking for. Does the plot look different when you run your code compared to what's in the lesson? |
As I mention above, I don't get any plot at all - it's a TypeError |
Hi @gexahedron, looks like I had a previous version of seaborn that wasn't producing this error but now I see what you see! Thank you for bringing this to my attention and I'll explicitly call out |
i think instead of
ax = sns.barplot(list(tags), list(tag_counts))
it should be
ax = sns.barplot(x=list(tags), y=list(tag_counts))
in code at https://madewithml.com/courses/mlops/exploratory-data-analysis/
The text was updated successfully, but these errors were encountered: