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

Skip to content

Commit f98eb5e

Browse files
committed
Debug boxplot.
1 parent 2d25a3c commit f98eb5e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test_script:
108108
- python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
109109
# tests
110110
- echo The following args are passed to pytest %PYTEST_ARGS%
111-
- pytest %PYTEST_ARGS%
111+
- pytest %PYTEST_ARGS% -k 'boxplot[pdf]' -sv lib/matplotlib/tests/test_axes.py
112112

113113
after_test:
114114
# After the tests were a success, build wheels with the static libs

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ env:
6363
- NPROC=2
6464
- OPENBLAS_NUM_THREADS=1
6565
- PYTHONFAULTHANDLER=1
66-
- PYTEST_ADDOPTS="-raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
66+
- PYTEST_ADDOPTS="-raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib"
6767
- RUN_FLAKE8=
6868

6969
matrix:
@@ -162,7 +162,7 @@ script:
162162
# to fail travis need to be the last thing called
163163
- |
164164
echo "Calling pytest with the following arguments: $PYTEST_ADDOPTS"
165-
python -mpytest
165+
python -mpytest -k 'boxplot[pdf]' -sv lib/matplotlib/tests/test_axes.py
166166
- |
167167
if [[ $RUN_FLAKE8 == 1 ]]; then
168168
flake8 --statistics && echo "Flake8 passed without any issues!"

lib/matplotlib/cbook/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ def _compute_conf_interval(data, med, iqr, bootstrap):
11481148
notch_min = med - 1.57 * iqr / np.sqrt(N)
11491149
notch_max = med + 1.57 * iqr / np.sqrt(N)
11501150

1151+
print(notch_min, notch_max)
11511152
return notch_min, notch_max
11521153

11531154
# output is a list of dicts

0 commit comments

Comments
 (0)