Modified setup of matplotlib for Linux and Windows to force using QT5 backend. Problem is that with conda installed qt5/pyqt5 matplotlib still tries to use qt4 backend.

这个提交包含在:
Craig Warren
2016-09-19 14:34:56 +01:00
父节点 177c6f5d0a
当前提交 f0f6c98ebb
共有 12 个文件被更改,包括 56 次插入1 次删除

查看文件

@@ -18,9 +18,14 @@
import argparse
import os
import sys
import h5py
import numpy as np
import matplotlib
# Make sure QT5 is used if not on Mac OS X
if sys.platform != 'darwin':
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec