The edge color of the histogram is not changing even though I declared it
Question:
Answers:
Try defining the edgecolor
parameter inside the .hist()
function instead of figure:
fig=plt.figure(figsize=(25, 10), tight_layout = True)
plt.title('Distribution of Item Type')
plt.xlabel('Item Type')
plt.hist(BigMart_Data_Encoded['Item_Type'],bins=15, edgecolor='black')
Try defining the edgecolor
parameter inside the .hist()
function instead of figure:
fig=plt.figure(figsize=(25, 10), tight_layout = True)
plt.title('Distribution of Item Type')
plt.xlabel('Item Type')
plt.hist(BigMart_Data_Encoded['Item_Type'],bins=15, edgecolor='black')