how do you make xticks rotation in matplotlib code example Example: matplotlib axis rotate xticks ax.tick_params(axis='x', rotation=45)