<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="xdf = pd.DataFrame(new_data).sample(frac = 0.2, replace = False , random_state = 1)
ccols = xdf.columns[0:28]
grouped_data = xdf.groupby('Class')
sns.set(font_scale = 0.8)
sns.set_palette(['#06B1F0' , '#FC4B60'])
fig , axes = pltFD.subplots(nrows = 4, ncols = 7, figsize = (16 , 12) , tight_layout = True)
for ax , p in zip(axes.ravel() , ccols):
    for k , v in grouped_data[p]:
        sns.kdeplot(v , ax = ax , label = str(k) + &quot;:&quot; + v.name)
        pltFD.setp(ax.get_legend().get_texts() , fontsize = '10')"><pre class="notranslate"><code class="notranslate">xdf = pd.DataFrame(new_data).sample(frac = 0.2, replace = False , random_state = 1)
ccols = xdf.columns[0:28]
grouped_data = xdf.groupby('Class')
sns.set(font_scale = 0.8)
sns.set_palette(['#06B1F0' , '#FC4B60'])
fig , axes = pltFD.subplots(nrows = 4, ncols = 7, figsize = (16 , 12) , tight_layout = True)
for ax , p in zip(axes.ravel() , ccols):
    for k , v in grouped_data[p]:
        sns.kdeplot(v , ax = ax , label = str(k) + ":" + v.name)
        pltFD.setp(ax.get_legend().get_texts() , fontsize = '10')
</code></pre></div>
<p dir="auto">Gives this Error.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29139858/66540489-91f95300-eb5e-11e9-8877-60f1dbac2d58.png"><img src="https://user-images.githubusercontent.com/29139858/66540489-91f95300-eb5e-11e9-8877-60f1dbac2d58.png" alt="image" style="max-width: 100%;"></a><br>
Total columns of dataframe=29<br>
Any one, do have any idea, only print, 21 subplots. can not plot all the features length cols.</p>
<p dir="auto">To reproduce this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
x = [0.15, 0.11, 0.06, 0.06, 0.12, 0.56]
plt.boxplot(x,sym='+')
plt.show()"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
x = [0.15, 0.11, 0.06, 0.06, 0.12, 0.56]
plt.boxplot(x,sym='+')
plt.show()
</code></pre></div>
<p dir="auto">The outliers display correctly.</p>
<p dir="auto">However, after I add <code class="notranslate">import seaborn</code>, the outliers disappear.</p>