Statistics, Python, Plotting, Seaborn.
increments of one in x. You might have to change it to suit your needs. Output by adding manual text annotations. Option 3. Semi-automatically using statannot Finally, for slightly more advanced bar and violin plots, there is an awesome package called statannot that does most of the heavy lifting.