Change scale of a plot in seaborn(Python)?



Hi guys, I have a plot like this :

As can be seen although some values dominate, there is still some trend in other values but the scale of Y-Axis is messing things up. How can we change scale in a seaborn visualisation? So that the visualisation can show the trend better.

The following is my code

import matplotlib.pyplot as plt
import seaborn as sns




You can try by adjusting the figure size before plotting.

fig = plt.figure(figsize=(20,20))

Hope this helps.


how to handle displaying the x axis labels, iv faced this issue many times.
Is there a way to plot only 10 categories or something like that ?
changing orientation doesnt help much many times


I don’t think there is any direct way for this. Still, if you wish to accomplish this then you can subset your data by only choosing the categories whose value_counts is greater than a threshold value and then plotting it.