code from: The role of male body size in mating success and male–male competition in a false widow spider

code from: The role of male body size in mating success and male–male competition in a false widow spider