Skip to content

Commit c5ecdb7

Browse files
DOC imageio error message
1 parent 10135da commit c5ecdb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

surfer/viz.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,8 +2205,10 @@ def save_movie(self, fname, time_dilation=4., tmin=None, tmax=None,
22052205
import imageio
22062206
except ImportError:
22072207
raise ImportError("Saving movies from PySurfer requires the "
2208-
"imageio library. To install imageio with "
2209-
"PySurfer, run\n\n $ pip install -U "
2208+
"imageio library. To install imageio with pip, "
2209+
"run\n\n $ pip install imageio\n\nTo "
2210+
"install/update PySurfer and imageio together, "
2211+
"run\n\n $ pip install -U "
22102212
"pysurfer[save_movie]\n")
22112213

22122214
if tmin is None:

0 commit comments

Comments
 (0)