Commit 63b98dc1 authored by Theo Steininger's avatar Theo Steininger
Browse files

Added matplotlib_init.py in new location.

parent 7cd45d3e
Pipeline #11726 failed with stage
in 1 minute and 25 seconds
# -*- coding: utf-8 -*-
import os
__all__ = []
try:
import matplotlib
except ImportError:
pass
else:
try:
display = os.environ['DISPLAY']
except KeyError:
matplotlib.use('Agg')
else:
if display == '':
matplotlib.use('Agg')
Markdown is supported
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