I am trying to add labels to a swarm plot which is overlaid on top of a boxplot. To explain how the data is configured it would as if the data points are for individual movies, with the boxplots being grouped by actor, and the value on the Y-axis is the length of movie.
I want to plot all the individual markers for the movies, which I have done with seaborn using a swarmplot, and then I want to add labels beside the markers noting which movies they are. If this is only possible using a different package then I am happy to not use seaborn, as long as I can still have the individual data markers.
Currently the graphs are created using the below code:
sns.boxplot(x='Actor_name', y='Movie_length', data=df_clean, showfliers = True)
sns.swarmplot(x='Actor_name', y='Movie_length', data=df_clean, color=".25")
The dataframe itself can just be imagined as having three columns, with an actor_name, movie_length, and movie_title column. The data is just one movie per one row.