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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mjg5NDQsIm5iZiI6MTczOTQyODY0NCwicGF0aCI6Ii84OTgxMDg2MC8yMzgxNTMxODEtMWIyNGI0YmItZTNjYS00ZTI1LTliZDQtNGJjYzY4M2RmZjczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA2MzcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3ODJjODk4NDFlYTMwY2E4ZWYwMjU3ZWU3MzNkNzljZDAwZmI5ODUwYTVlY2NjMzE5MDQyNDBhOWZiMTZiOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TlnP_ion4cT0NavA2NcZvjwmbMi3GUuShVSfWPz0_1c)
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