Skip to content

Commit 1779e65

Browse files
koubaaMohamed Koubaapyansys-ci-bot
authored
fix: Change the mapdl_inprocess graphics backend (#3915)
* Fix mapdl inprocess backend `mapdl_inprocess` should use `None`for graphics backend. This will have to be revisited with some automated tests when 2025R2 is released. * chore: adding changelog file 3915.fixed.md [dependabot-skip] * chore: adding changelog file 3915.fixed.md [dependabot-skip] * remove unused import --------- Co-authored-by: Mohamed Koubaa <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent a1a20bc commit 1779e65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/changelog.d/3915.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: Change the mapdl_inprocess graphics backend

src/ansys/mapdl/core/mapdl_inprocess.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from typing import Protocol
2424

2525
from ansys.mapdl.core.mapdl import MapdlBase
26-
from ansys.mapdl.core.plotting import GraphicsBackend
2726

2827

2928
class _Backend(Protocol):
@@ -46,7 +45,7 @@ class MapdlInProcess(MapdlBase):
4645
def __init__(self, in_process_backend: _Backend):
4746
super().__init__(
4847
loglevel="WARNING",
49-
graphics_backend=GraphicsBackend.MAPDL,
48+
graphics_backend=None,
5049
log_apdl=None,
5150
print_com=False,
5251
)

0 commit comments

Comments
 (0)