diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index d037550666c4..86c2912bee99 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -1079,10 +1079,6 @@ p.caption { font-weight: bold; } -div#gallery.section, div#tutorials.section { - overflow: hidden; -} - .sphx-glr-multi-img{ max-width: 99% !important; } @@ -1254,3 +1250,7 @@ div.bullet-box li { flex: 0 0 90%; } } + +div#gallery.section .sphx-glr-clear:first-of-type, div#tutorials.section .sphx-glr-clear:first-of-type{ + display: none; +} \ No newline at end of file diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index c7cc54885ea0..7168886419ec 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -12,5 +12,5 @@ colorspacious ipython ipywidgets numpydoc>=0.8 -sphinx-gallery>=0.4 +sphinx-gallery>=0.5 sphinx-copybutton