question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

stripplot has too much jitter and you cannot change it using the jitter parameter

See original GitHub issue

Seems this broke over an update of a package.

These are the versions of my packages on Python 3.7:

Package         Version
--------------- -------
cycler          0.10.0 
kiwisolver      1.2.0  
matplotlib      3.2.1  
numpy           1.18.4 
pandas          1.0.3  
pip             18.1   
pkg-resources   0.0.0  
pyparsing       2.4.7  
python-dateutil 2.8.1  
pytz            2020.1 
scipy           1.4.1  
seaborn         0.10.1 
setuptools      40.8.0 
six             1.14.0 

When I run the first example from the stripplot I get this.

stripplot

So, too much jitter, much more than shown in the docs, and if try to change it with the jitter parameter it does not change.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mwaskomcommented, May 5, 2020

OK see https://github.com/matplotlib/matplotlib/issues/17331

It’s possible this will have to be fixed on the seaborn side, but I don’t really understand exactly what matplotlib changed and they didn’t, as far as I can tell, document the new behavior in the release notes.

0reactions
mwaskomcommented, Jun 18, 2020

Matplotlib 3.2.2 is now out and fixes this (and related) issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Widen strips in Seaborn stripplot - Stack Overflow
jitter doesn't seem to work for this -- any value over 1 completely explodes the strips so that they're overlapping with each other....
Read more >
seaborn.stripplot — seaborn 0.12.1 documentation - PyData |
Draw a categorical scatterplot using jitter to reduce overplotting. ... This can be useful when you have many points and they overlap, so...
Read more >
How to avoid overplotting with python
This problem is illustrated by a scatterplot, using matplotlib (you can see the code below). A first look might lead to the conclusion...
Read more >
6|All about STRIP PLOT using Seaborn in Python - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >
Seaborn stripplot | What is a strip plot and how to ... - YouTube
After I explain the strip plot, I then compare the stripplot vs swarmplot and provide a demonstration on how to code a stripplot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found