Remove only_directives, which is gone from mpl
@@ -32,7 +32,6 @@ from shapely.ops import cascaded_union
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
- 'matplotlib.sphinxext.only_directives',
'matplotlib.sphinxext.plot_directive',
'sphinx.ext.autodoc',
#'sphinx.ext.pngmath', # <----- pick one, not both
