diff --git a/doc/_templates/index.html b/doc/_templates/index.html index 0343730ec5c1..4ba0dfe8235c 100644 --- a/doc/_templates/index.html +++ b/doc/_templates/index.html @@ -177,7 +177,7 @@
Please -consider donating +consider donating to the matplotlib project through the Numfocus organization or to the John Hunter Technology Fellowship.
diff --git a/doc/pyplots/make.py b/doc/pyplots/make.py deleted file mode 100755 index cc58688aa66b..000000000000 --- a/doc/pyplots/make.py +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/env python - -from __future__ import print_function -import sys, os, glob -import matplotlib -import IPython.Shell -#matplotlib.rcdefaults() -matplotlib.use('Agg') - -mplshell = IPython.Shell.MatplotlibShell('mpl') - -formats = [('png', 100), - ('hires.png', 200), - ('pdf', 72)] - -def figs(): - print('making figs') - import matplotlib.pyplot as plt - for fname in glob.glob('*.py'): - if fname.split('/')[-1] == __file__.split('/')[-1]: continue - basename, ext = os.path.splitext(fname) - imagefiles = dict([('%s.%s'%(basename, format), dpi) - for format, dpi in formats]) - all_exists = True - for imagefile in imagefiles: - if not os.path.exists(imagefile): - all_exists = False - break - - if all_exists: - print(' already have %s'%fname) - else: - print(' building %s'%fname) - plt.close('all') # we need to clear between runs - mplshell.magic_run(basename) - for imagefile, dpi in imagefiles.iteritems(): - # todo: this will get called even if the run script - # fails and exits, thus creating a stub pdf and png - # iles preventing them from getting built successfully - # later - plt.savefig(imagefile, dpi=dpi) - print('all figures made') - - -def clean(): - patterns = (['#*', '*~', '*pyc'] + - ['*.%s' % format for format, dpi in formats]) - for pattern in patterns: - for fname in glob.glob(pattern): - os.remove(fname) - print('all clean') - - - -def all(): - figs() - -funcd = {'figs':figs, - 'clean':clean, - 'all':all, - } - -if len(sys.argv)>1: - for arg in sys.argv[1:]: - func = funcd.get(arg) - if func is None: - raise SystemExit('Do not know how to handle %s; valid args are'%( - arg, funcd.keys())) - func() -else: - all() - - - - diff --git a/doc/pyplots/plotmap.hires.png b/doc/pyplots/plotmap.hires.png deleted file mode 100644 index b1d0c35540a5..000000000000 Binary files a/doc/pyplots/plotmap.hires.png and /dev/null differ diff --git a/doc/pyplots/plotmap.pdf b/doc/pyplots/plotmap.pdf deleted file mode 100644 index ad51edbb7597..000000000000 Binary files a/doc/pyplots/plotmap.pdf and /dev/null differ diff --git a/doc/pyplots/plotmap.png b/doc/pyplots/plotmap.png deleted file mode 100644 index 5f33c425a335..000000000000 Binary files a/doc/pyplots/plotmap.png and /dev/null differ diff --git a/doc/pyplots/tex_demo.hires.png b/doc/pyplots/tex_demo.hires.png deleted file mode 100644 index 61bb11881553..000000000000 Binary files a/doc/pyplots/tex_demo.hires.png and /dev/null differ diff --git a/doc/pyplots/tex_demo.pdf b/doc/pyplots/tex_demo.pdf deleted file mode 100644 index 4462d92c99a9..000000000000 Binary files a/doc/pyplots/tex_demo.pdf and /dev/null differ diff --git a/doc/pyplots/tex_unicode_demo.hires.png b/doc/pyplots/tex_unicode_demo.hires.png deleted file mode 100644 index 52fc6b248bc6..000000000000 Binary files a/doc/pyplots/tex_unicode_demo.hires.png and /dev/null differ diff --git a/doc/pyplots/tex_unicode_demo.pdf b/doc/pyplots/tex_unicode_demo.pdf deleted file mode 100644 index c6e234d1d404..000000000000 Binary files a/doc/pyplots/tex_unicode_demo.pdf and /dev/null differ diff --git a/doc/pyplots/tex_unicode_demo.png b/doc/pyplots/tex_unicode_demo.png deleted file mode 100644 index db7e76dbebb3..000000000000 Binary files a/doc/pyplots/tex_unicode_demo.png and /dev/null differ