enter image description here the values of bars overlapping the borders. How to change the border so that bars with values should fit in properly
            Asked
            
        
        
            Active
            
        
            Viewed 67 times
        
    -1
            
            
        - 
                    solved the problem by adding lines ax.spines['right'].set_visible(False) ax.spines['top'].set_visible(False) – Rajshri Ingle Aug 08 '22 at 22:57
 
1 Answers
0
            
            
        #adding following lines solved the problem
fig = plt.figure(figsize=(6, 6))
ax = fig.add_subplot(111)
ax.spines['right'].set_visible(False)
ax.spines['top'].set_visible(False)
        Rajshri Ingle
        
- 1
 - 1