diff --git a/lib/matplotlib/sphinxext/plot_directive.py b/lib/matplotlib/sphinxext/plot_directive.py index 43ca8818b021..16fd84f3240d 100644 --- a/lib/matplotlib/sphinxext/plot_directive.py +++ b/lib/matplotlib/sphinxext/plot_directive.py @@ -280,6 +280,9 @@ def setup(app): app.connect(str('doctree-read'), mark_plot_labels) + metadata = {'parallel_read_safe': True, 'parallel_write_safe': True} + return metadata + #------------------------------------------------------------------------------ # Doctest handling #------------------------------------------------------------------------------