Violinplot works but swarmplot throws keyerror #3364
Replies: 2 comments
-
Caused by this library: timple |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just ran into the same Casper-Guo problem. Verified correct data just before calling sns.swarmplot |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a dataframe obtained from Fastf1 and I want to make a visualization that combines violinplot and swarmplot.
When I make the violinplot only with the following:
I get the following plot without issue:
![distribution](https://private-user-images.githubusercontent.com/89810860/238153181-1b24b4bb-e3ca-4e25-9bd4-4bcc683dff73.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMzI4NDAsIm5iZiI6MTcyMTEzMjU0MCwicGF0aCI6Ii84OTgxMDg2MC8yMzgxNTMxODEtMWIyNGI0YmItZTNjYS00ZTI1LTliZDQtNGJjYzY4M2RmZjczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDEyMjIyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0N2ZjMzg2MWU2MjQ1MGMyZjgxMzI2ZTkyY2ExODA1OThkNzA5NWIzZjU1YTVlNjc5YWNhZDExMzMxNGU5NjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.P6cg5gF7yDUGAGyQpIi9qJBz2LzD_F9JUOPVKun4GtY)
However, when I try to make the swarmplot on top of the violinplot or by itself with the following:
the following error is thrown:
P.S Making the violinplot with
inner="point"
triggers the same error.Beta Was this translation helpful? Give feedback.
All reactions