<reponame>KristobalJunta/docker-stats-graph<gh_stars>1-10
import os

import matplotlib as mpl

if os.environ.get('DISPLAY', '') == '':
    print('no display found. Using non-interactive Agg backend')
    mpl.use('Agg')
