Skip to content

Commit

Permalink
Update sphinx_gallery.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Dec 6, 2023
1 parent b15ef1b commit f814201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvista/plotting/utilities/sphinx_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __call__(self, block, block_vars, gallery_conf):
image_path_iterator = block_vars["image_path_iterator"]
figures = pyvista.plotting.plotter._ALL_PLOTTERS
for plotter in figures.values():
if plotter.iren is not None and plotter.iren.initialized:
if plotter.iren is not None and plotter.iren.initialized: # pragma: no cover
plotter.update()
if hasattr(plotter, "app"):
plotter.app.processEvents()
Expand Down

0 comments on commit f814201

Please sign in to comment.