From 6bfe9e18ab453ee2ef710ff10a56f44e785b2d5d Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Sun, 24 Jul 2016 11:30:22 +0100 Subject: [PATCH 1/3] Change default dpi of small png images in docs Closes #6636 --- doc/conf.py | 2 +- doc/make.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index b5cc8847a0fc..fb7d5e33220e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -115,7 +115,7 @@ # Plot directive configuration # ---------------------------- -plot_formats = [('png', 80), ('hires.png', 200), ('pdf', 50)] +plot_formats = [('png', 100), ('hires.png', 200), ('pdf', 100)] # Subdirectories in 'examples/' directory of package and titles for gallery mpl_example_sections = [ diff --git a/doc/make.py b/doc/make.py index 899e409edc38..d41d786bdb62 100755 --- a/doc/make.py +++ b/doc/make.py @@ -47,7 +47,7 @@ def html(buildername='html'): copy_if_out_of_date(rc, '_static/matplotlibrc') if small_docs: - options = "-D plot_formats=png:80" + options = "-D plot_formats=png:100" else: options = '' if warnings_as_errors: From b710f5468822035d97c926b11b95082b8dc2e683 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Sun, 24 Jul 2016 11:31:10 +0100 Subject: [PATCH 2/3] Remove hires png from default docs html output --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index fb7d5e33220e..7eef3bf5d742 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -115,7 +115,7 @@ # Plot directive configuration # ---------------------------- -plot_formats = [('png', 100), ('hires.png', 200), ('pdf', 100)] +plot_formats = [('png', 100), ('pdf', 100)] # Subdirectories in 'examples/' directory of package and titles for gallery mpl_example_sections = [ From 8e04efad73bb34e31362fbf33abfc7d74c68df3b Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Mon, 25 Jul 2016 20:07:07 +0100 Subject: [PATCH 3/3] Build full html docs on travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f21018f7260..5bc5a37c6c52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -141,7 +141,7 @@ script: gdb -return-child-result -batch -ex r -ex bt --args python tests.py -s --processes=$NPROC --process-timeout=300 $TEST_ARGS else cd doc - python make.py html --small + python make.py html # We don't build the LaTeX docs here, so linkchecker will complain touch build/html/Matplotlib.pdf linkchecker build/html/index.html