Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python plot axis labels

ticks = [0, 1, 2]
labels = ["a", "b", "c"]

plt.figure()
plt.xticks(ticks, labels)
plt.show()
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #python #plot #axis #labels
ADD COMMENT
Topic
Name
8+8 =