Commit 5c45278
committed
Do not call mlab.figure() if mayavi_figure_args=None
On a headless machine (e.g. a CI server), calling mlab.figure() causes
mayavi to error. This change allows plot3d() to run with mayavi without
calling mlab.figure().1 parent 4e4857f commit 5c45278
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
696 | | - | |
697 | | - | |
| 695 | + | |
| 696 | + | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
| |||
0 commit comments