Answers for "plot every nth label in barplot"

0

plot every nth label in barplot

for i, t in enumerate(ax.get_xticklabels()):
    if (i % 5) != 0:
        t.set_visible(False)
Posted by: Guest on September-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language