79674932

Date: 2025-06-22 06:12:33
Score: 1
Natty:
Report link

what worked for me is setting the length of tick dynamically to same as the number of labels
so :

labels =["label1","label2"]
plt.xticks(np.arange(len(labels)), labels)
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Test Test