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

Skip to content

Commit 3a97057

Browse files
committed
TST: fixed new test and added baseline PNG
1 parent b3e329c commit 3a97057

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -973,9 +973,7 @@ def bump(a):
973973
plt.stackplot(range(100), d.T, baseline='weighted_wiggle')
974974

975975

976-
@image_comparison(baseline_images=['boxplot'],
977-
remove_text=True, extensions=['png'],
978-
savefig_kwarg={'dpi': 40})
976+
@image_comparison(baseline_images=['boxplot'])
979977
def test_boxplot():
980978
x = np.linspace(-7, 7, 140)
981979
x = np.hstack([-25, x, 25])
@@ -995,7 +993,7 @@ def test_boxplot_with_CIarray():
995993
x = np.hstack([-25, x, 25])
996994
fig = plt.figure()
997995
ax = fig.add_subplot(111)
998-
CIs = np.array([-1.5, 3.], [-1., 3.5])
996+
CIs = np.array([[-1.5, 3.], [-1., 3.5]])
999997

1000998
# show 1 boxplot with mpl medians/conf. interfals, 1 with manual values
1001999
ax.boxplot([x, x], bootstrap=10000, usermedians=[None, 1.0],

0 commit comments

Comments
 (0)