Relative Content

Tag Archive for pythonpandasplotseaborn

How can I use values that are not in my data as xticks?

I’m using seaborn to plot values of time spent on an activity in function of the trainig session. The problem that I have is that since I have two distinct groups I’ve set the x values to for example 0.75 for group 1 and 1.25 for group 2 for session 1. I’m trying to get the xticks on the values 1, 2, 3… but I can’t find a way to do it.