I want to create a stripplot that contain data with different colors and markers. The problem: the y-axis value is overridden by the last data entering the graph.
How can I fix this problem?
The code:
import matplotlib.pyplot as plt
import seaborn
data1 = {"days": ["Monday", "Monday"], "Pay": [6,9]}
data2 = {"days": ["Thursday", "Thursday"], "Pay": [5,4]}
seaborn.stripplot(x="Pay", y="days", data=data1, dodge=True,palette=["red"], marker="^",linewidth=1)
seaborn.stripplot(x="Pay", y="days", data=data2, dodge=True,palette=["blue"], marker="o",linewidth=1)
plt.grid(color='green', linestyle='--', linewidth=0.5)
plt.show()


