Skip to content

Commit 9cf42e9

Browse files
Update bats_ai/core/management/commands/importRecordings.py
Co-authored-by: Michael Nagler <mike.nagler@kitware.com>
1 parent f201084 commit 9cf42e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bats_ai/core/management/commands/importRecordings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def add_arguments(self, parser):
4040
)
4141

4242
def handle(self, *args, **options):
43+
import matplotlib
44+
matplotlib.use('Agg')
45+
4346
directory_path = Path(options['directory'])
4447
owner_username = options.get('owner')
4548
is_public = options.get('public', False)

0 commit comments

Comments
 (0)