0

I have created a couple of sns histplots, but they dont look like a normal histogram.

Dataframe name = vehicledata_cleaned Fuel - Diesal, Petrol, Hyrid, other. Price - 0, 100, 1000, 1100 1200, 3000, 3500, 4000 etc

`plt.figure(figsize=(15,15))
plt.subplot(4,1,1)
sns.histplot(x="fuelType",y="price",data=vehicledata_cleaned,)
plt.subplot(4,1,2)
sns.histplot(x="fuelType",y="price",data=vehicledata_cleaned, hue='transmission', multiple="stack")`

internet example

I was hoping for something like the attached example (just image of internet)

but I got my code result

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Niamh
  • 1
  • 1

0 Answers0