Seaborn barplots have an xtick for every unique value along the x coordinate. But for the hue values, there are no ticks:
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
df = pd.DataFrame(columns=["model", "time", "value"])
df["model"] = ["on"]*2 + ["off"]*2
df["time"] = ["short", "long"] * 2
df["value"] = [1, 10, 2, 4]
fig, ax = plt.subplots()
bar = sns.barplot(data=df, x="model", hue="time", y="value", edgecolor="white")
Is it possible to add ticks for the hue, too? Some of the hue colors are quite similar and I would like to add a text description, too.

