FAQ: Learn Seaborn Introduction - Plotting Bars with Seaborn

This community-built FAQ covers the “Plotting Bars with Seaborn” exercise from the lesson “Learn Seaborn Introduction”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Data Science

Data Visualization in Python

FAQs on the exercise Plotting Bars with Seaborn

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

A few errors in the lesson text:

  1. Paragaph 4 (just beneath the bar plot)

That’s a lot of work for a simple bar chart! Seaborn gives us a much simpler option. With Seaborn, you can use the sns.barplot()

sns.barplot() is not showing as code in the lesson

  1. In the bulleted list below that:

x : a string that tells Seaborn which column in the DataFrame contains otheur

Spelling error on otheur

Love y’all!

When I run this exercise in my python installation,(not in codecademy environment) It always gives the error 'AttributeError: module ‘seaborn’ has no attribute ‘barplot’ . why it generate this problem for seaborn ?