I am learning Data Science and I am trying to figure out why I see this difference. What I get:
import seaborn as sns
import matplotlib.pyplot as plt
from pandas.api.types import CategoricalDtype
diamonds = sns.load_dataset('diamonds')
df= diamonds.copy()
cut_categoriler= ["fair","good","very good","premium","ideal"]
df.cut= df.cut.astype(CategoricalDtype(categories = cut_categoriler, ordered= True))
df.head().T
sns.catplot(x= "cut" ,y= "price",data =df);
plt.show()
what I want:


