summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py2
-rw-r--r--doc/source/user/plots/matplotlib3.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 11be7ec1c..905fa2711 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -257,7 +257,6 @@ numpydoc_use_plots = True
# Autosummary
# -----------------------------------------------------------------------------
-import glob
autosummary_generate = True
# -----------------------------------------------------------------------------
@@ -381,7 +380,6 @@ def linkcode_resolve(domain, info):
numpy.__version__, fn, linespec)
from pygments.lexers import CLexer
-from pygments import token
import copy
class NumPyLexer(CLexer):
diff --git a/doc/source/user/plots/matplotlib3.py b/doc/source/user/plots/matplotlib3.py
index af778979b..20a8c0767 100644
--- a/doc/source/user/plots/matplotlib3.py
+++ b/doc/source/user/plots/matplotlib3.py
@@ -1,6 +1,5 @@
import numpy as np
import matplotlib.pyplot as plt
-from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()