Skip to content

Commit c15063e

Browse files
authored
Vispy bug (#288)
* use pypi * split actions * no double * merge jobs * fix yml? * try to fix cmake * try to fix cmake * try to fix cmake * revert commending out Development.Embed in cmakelist * don't build wheels through pypi * revert changes in CMakelists * remove spurious action * don't fail on vispy import
1 parent 833ba9d commit c15063e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tyssue/draw/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
from .ipv_draw import sheet_view as sheet_view_3d # noqa
33
from .plt_draw import create_gif, plot_forces, quick_edge_draw # noqa
44
from .plt_draw import sheet_view as sheet_view_2d # noqa
5-
from .vispy_draw import sheet_view as sheet_view_vispy # noqa
5+
6+
try:
7+
from .vispy_draw import sheet_view as sheet_view_vispy # noqa
8+
except OSError:
9+
print("vispy won't work")
10+
sheet_view_vispy = None
611

712

813
def sheet_view(sheet, coords=["x", "y", "z"], ax=None, mode="2D", **draw_specs_kw):

0 commit comments

Comments
 (0)