From 343b06ab16977785ed349e1e9c33ea852a3ea2e2 Mon Sep 17 00:00:00 2001 From: Simon Bachhuber <61733064+simon-bachhuber@users.noreply.github.com> Date: Mon, 3 Mar 2025 17:02:34 +0100 Subject: [PATCH] deleted hard-coded `egl` backend, because on macOS you need `osmesa` backend --- src/body_visualizer/tools/vis_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/body_visualizer/tools/vis_tools.py b/src/body_visualizer/tools/vis_tools.py index d422b20..a2d20bb 100644 --- a/src/body_visualizer/tools/vis_tools.py +++ b/src/body_visualizer/tools/vis_tools.py @@ -31,7 +31,7 @@ # os.environ['PYOPENGL_PLATFORM'] = 'osmesa' # else: # print('In other system, using egl mode for rendering') -os.environ['PYOPENGL_PLATFORM'] = 'egl' +# os.environ['PYOPENGL_PLATFORM'] = 'egl' colors = { @@ -208,4 +208,4 @@ def show_image(img_ndarray): plt.axis('off') # fig.canvas.draw() - # return True \ No newline at end of file + # return True