8000 EXA Add memory measurements in example gallery (#14532) · thomasjpfan/scikit-learn@e23f58d · GitHub
[go: up one dir, main page]

Skip to content

Commit e23f58d

Browse files
lesteverth
authored andcommitted
EXA Add memory measurements in example gallery (scikit-learn#14532)
1 parent ec9b11b commit e23f58d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build_tools/circle/build_doc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ conda create -n $CONDA_ENV_NAME --yes --quiet python="${PYTHON_VERSION:-*}" \
130130
cython="${CYTHON_VERSION:-*}" pytest coverage \
131131
matplotlib="${MATPLOTLIB_VERSION:-*}" sphinx=2.1.2 pillow \
132132
scikit-image="${SCIKIT_IMAGE_VERSION:-*}" pandas="${PANDAS_VERSION:-*}" \
133-
joblib
133+
joblib memory_profiler
134134

135135
source activate testenv
136136
pip install sphinx-gallery==0.3.1

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
sphinx_gallery_conf = {
251251
'doc_module': 'sklearn',
252252
'backreferences_dir': os.path.join('modules', 'generated'),
253+
'show_memory': True,
253254
'reference_url': {
254255
'sklearn': None}
255256
}

0 commit comments

Comments
 (0)
0