DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
plot every nth label in barplot
for i, t in enumerate(ax.get_xticklabels()): if (i % 5) != 0: t.set_visible(False)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#plot
#nth
#label
#barplot
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit