Skip to content

Bar plot section update: sns.barplot in seaborn >=0.12 #13

Open

Description

@yehyutung

In the "Bar Plot" section (lessons/01_python_data_visualization.ipynb, right before the first sns.barplot(x=count.index, y=count.values) cell), the notebook text says: Note that seaborn automatically color-code the continent, assigning each one a unique color.
This was true in older seaborn versions, but as of seaborn 0.12 (version that would be automatically installed through requirements.txt), barplot() no longer implicitly assigns a different color per category when only x/y are passed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions