0

In below code I have chosen col_wrap=3 and there are total 9 plots , so only last row plots have xticks labels. I want xtick label in every plots.

sns.displot(x=col1,y="col2",data=DF,col="col3",col_wrap=3)

Any help would be appreciated.

Amit
  • 327
  • 2
  • 11
  • 1
    `g = sns.displot(...)` `for ax in g.axes: plt.setp(ax.get_xticklabels(), visible=True)` – JohanC Mar 01 '21 at 11:39
  • 1
    `for ax in g.axes: ax.tick_params(labelbottom=True)` [Repeating x-axis labels for all facets](https://stackoverflow.com/questions/52182322/repeating-x-axis-labels-for-all-facets-using-facetgrid-in-seaborn) – JohanC Mar 01 '21 at 11:42

0 Answers0