From 493328cf3f01a90b0604739d166cba90a996d0a7 Mon Sep 17 00:00:00 2001 From: liadomide Date: Thu, 14 Nov 2024 23:18:38 +0200 Subject: [PATCH] TVB-3111 fix phase_plane from distribution --- .../tvb/adapters/visualizers/phase_plane_interactive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tvb_framework/tvb/adapters/visualizers/phase_plane_interactive.py b/tvb_framework/tvb/adapters/visualizers/phase_plane_interactive.py index 89f699697f..75bd00852c 100644 --- a/tvb_framework/tvb/adapters/visualizers/phase_plane_interactive.py +++ b/tvb_framework/tvb/adapters/visualizers/phase_plane_interactive.py @@ -48,6 +48,8 @@ def nullcline(x, y, z): except ImportError: import matplotlib.pyplot as plt + import matplotlib + matplotlib.use('agg') # new matplotlib, version 3.8.3 def nullcline(x, y, z):