Skip to content

Commit

Permalink
Vispy bug (#288)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
glyg committed Feb 15, 2024
1 parent 833ba9d commit c15063e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tyssue/draw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
from .ipv_draw import sheet_view as sheet_view_3d # noqa
from .plt_draw import create_gif, plot_forces, quick_edge_draw # noqa
from .plt_draw import sheet_view as sheet_view_2d # noqa
from .vispy_draw import sheet_view as sheet_view_vispy # noqa

try:
from .vispy_draw import sheet_view as sheet_view_vispy # noqa
except OSError:
print("vispy won't work")
sheet_view_vispy = None


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

0 comments on commit c15063e

Please sign in to comment.