Skip to content

Commit

Permalink
fix missing imports; update pyvista theme
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Feb 24, 2024
1 parent 5792682 commit efd474f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import datetime
import os

import numpy as np
import pyvista
from sphinx_gallery.sorting import FileNameSortKey

Expand All @@ -15,7 +14,7 @@
pyvista.OFF_SCREEN = True # Not necessary - simply an insurance policy
# Preferred plotting style for documentation
pyvista.set_plot_theme("document")
pyvista.rcParams["window_size"] = np.array([1024, 768]) * 2
pyvista.global_theme.window_size = [1024, 768]
# Save figures in specified directory
pyvista.FIGURE_PATH = os.path.abspath("./images/")
if not os.path.exists(pyvista.FIGURE_PATH):
Expand Down
4 changes: 4 additions & 0 deletions pymeshfix/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
"""PyMeshFix module."""
from pymeshfix import _meshfix # noqa: F401
from pymeshfix._meshfix import PyTMesh, clean_from_arrays, clean_from_file # noqa: F401
from pymeshfix._version import __version__ # noqa: F401
from pymeshfix.meshfix import MeshFix # noqa: F401
2 changes: 2 additions & 0 deletions pymeshfix/examples/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# get location of the example meshes
from os.path import dirname, join, realpath

from pymeshfix.examples.fix import native, with_vtk # noqa: F401

pth = dirname(realpath(__file__))
bunny_scan = join(pth, "StanfordBunny.ply")
planar_mesh = join(pth, "planar_mesh.ply")

0 comments on commit efd474f

Please sign in to comment.