Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90c516f

Browse files
committed
MNT : minor refactor of patch from bmistree
1 parent 25f934e commit 90c516f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3064,6 +3064,8 @@ def boxplot(self, x, notch=False, sym=None, vert=True, whis=1.5,
30643064
flierprops = dict(linestyle='none', marker='',
30653065
markeredgecolor='none',
30663066
markerfacecolor='none')
3067+
# turn the fliers off just to be safe
3068+
showfliers = False
30673069
# now process the symbol string
30683070
else:
30693071
# process the symbol string
@@ -3081,10 +3083,6 @@ def boxplot(self, x, notch=False, sym=None, vert=True, whis=1.5,
30813083
flierprops['markeredgecolor'] = color
30823084
flierprops['markerfacecolor'] = color
30833085

3084-
# do not show fliers if sym is empty string
3085-
if sym == '':
3086-
showfliers = False
3087-
30883086
# replace medians if necessary:
30893087
if usermedians is not None:
30903088
if (len(np.ravel(usermedians)) != len(bxpstats) or

0 commit comments

Comments
 (0)