Skip to content

Instantly share code, notes, and snippets.

@pfandzelter
Last active September 2, 2024 14:21
Show Gist options
  • Save pfandzelter/0ae861f0dee1fb4fd1d11344e3f85c9e to your computer and use it in GitHub Desktop.
Save pfandzelter/0ae861f0dee1fb4fd1d11344e3f85c9e to your computer and use it in GitHub Desktop.
Bar Chart With a Broken Y Axis in Python Using Seaborn
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gcolmenarejo
Copy link

Hi pfandzelter

running your code I get this:
image

I have pandas 1.4.2 and seaborn 0.11.2.

Do you know why the bars are not displaying in the correct scale and inside the y-axis limits?

Thanks a lot
Gonzalo

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