def set_matplotlib_backend():
    if WEB_MODE:
        matplotlib.use('Agg')
    else:
        matplotlib.use('Qt4Agg')
Select display backend
dataset/ETHPy150Open mikrosimage/ColorPipe-tools/utils/matplotlib_helper.py/set_matplotlib_backend