I want bars to widely spread in the graph so that graph is clearly visible.1
https://i.stack.imgur.com/RnRG8.png
g=sns.barplot(y="Survived", x="Age", data=t,linewidth=10)
I want bars to widely spread in the graph so that graph is clearly visible.1
https://i.stack.imgur.com/RnRG8.png
g=sns.barplot(y="Survived", x="Age", data=t,linewidth=10)
You can set figure size (figsize) to make graph wider:
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)