0

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)
Amit
  • 13
  • 5

1 Answers1

0

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)

enter image description here

Vlad Bezden
  • 83,883
  • 25
  • 248
  • 179