我希望条形图在图表中广泛传播,以便图表清晰可见。1
https://i.stack.imgur.com/RnRG8.png
g=sns.barplot(y="Survived", x="Age", data=t,linewidth=10)
答案 0 :(得分:0)
您可以设置图形大小(figsize)以使图形更宽:
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
data = np.random.normal(0, 1, 3)
plt.figure(figsize=(16, 6))
sns_plot = sns.boxplot(x=data)