import pandas as pd
import seaborn as sns
tips = sns.load_dataset("tips")
tips['total_bill']=tips.total_bill*10**(tips.index/60 2)
sns.set(font_scale=2)
g=sns.relplot(data=tips,height=5, x="total_bill", y="tip", hue="day", col="time")
g.set(xscale='log')
According to different params (font_scale,height,etc), there might be some minor ticker for each 1/10 or not on the plt.
How to make sure all minor tickers for each 1/10 be shown in all subplots?
like this:
CodePudding user response: