Commit 58724546 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Switches back mpl backend to tkinter

Showing with 3 additions and 2 deletions
+3 -2
......@@ -12,7 +12,8 @@ from ohmpi.utils import update_dict
from ohmpi.config import HARDWARE_CONFIG
from threading import Thread, Event, Barrier
plt.switch_backend('agg') # for multi-threading...
# plt.switch_backend('agg') # for thread safe operations...
# Define the default controller, a distinct controller could be defined for each tx, rx or mux board
# when using a distinct controller, the specific controller definition must be included in the component configuration
ctl_module = importlib.import_module(f'ohmpi.hardware_components.{HARDWARE_CONFIG["ctl"]["model"]}')
......
......@@ -2,7 +2,7 @@ import matplotlib.pyplot as plt
import numpy as np
from ohmpi.utils import parse_log
import matplotlib
plt.switch_backend('agg') # for multi-threading...
# plt.switch_backend('agg') # for thread safe operations...
def plot_exec_log(exec_log,names=None,last_session=True): # TODO: select session id instead of last session (if -1 : last)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment