diff -r -U2 matplotlib-2.1.2.orig/doc/conf.py matplotlib-2.1.2/doc/conf.py --- matplotlib-2.1.2.orig/doc/conf.py 2018-01-19 11:07:49.000000000 +0700 +++ matplotlib-2.1.2/doc/conf.py 2018-01-21 20:06:44.120901546 +0700 @@ -136,5 +136,5 @@ } -plot_gallery = 'True' +plot_gallery = True # Add any paths that contain templates here, relative to this directory.