Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix numpy typing import #2395

Merged
merged 6 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ansys/mapdl/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@

_HAS_ANSYS = _check_has_ansys()

_apply_default_theme()
if _HAS_PYVISTA:
_apply_default_theme()

BUILDING_GALLERY = False
RUNNING_TESTS = False
Expand Down
3 changes: 1 addition & 2 deletions src/ansys/mapdl/core/mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

from matplotlib.colors import to_rgba
import numpy as np
from numpy._typing import DTypeLike
from numpy.typing import NDArray
from numpy.typing import DTypeLike, NDArray

from ansys.mapdl import core as pymapdl
from ansys.mapdl.core import LOG as logger
Expand Down
Binary file modified tests/.image_cache/plot_incomplete_nodal_selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.