File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11import subprocess
22import warnings
33from os import path
4- from tempfile import TemporaryDirectory
54from pathlib import Path
5+ from tempfile import TemporaryDirectory
6+
67import matplotlib .pyplot as plt
78import pytest
89from petab .C import *
910from petab .visualize import (plot_data_and_simulation ,
1011 plot_measurements_by_observable ,
1112 save_vis_spec )
1213
14+ # Avoid errors when plotting without X server
15+ plt .switch_backend ('agg' )
16+
1317
1418@pytest .fixture
1519def data_file_Fujita ():
Original file line number Diff line number Diff line change 11from os import path
22from tempfile import TemporaryDirectory
3+
4+ import matplotlib .pyplot as plt
35import pytest
46from petab .C import *
57from petab .visualize import plot_with_vis_spec , plot_without_vis_spec
68from petab .visualize .plotting import VisSpecParser
79
10+ # Avoid errors when plotting without X server
11+ plt .switch_backend ('agg' )
12+
813
914@pytest .fixture
1015def data_file_Fujita ():
You can’t perform that action at this time.
0 commit comments