Replace use of matplotlib.colors with _SVG_NAMES dictionary

This commit is contained in:
Paul Romano 2017-03-08 15:00:18 -06:00
parent 70ce242ed7
commit 9dec183b53
5 changed files with 176 additions and 18 deletions

View file

@ -25,8 +25,7 @@ except ImportError:
MOCK_MODULES = ['numpy', 'numpy.polynomial', 'numpy.polynomial.polynomial',
'h5py', 'pandas', 'uncertainties', 'matplotlib.colors',
'openmoc']
'h5py', 'pandas', 'uncertainties', 'openmoc']
sys.modules.update((mod_name, MagicMock()) for mod_name in MOCK_MODULES)
import numpy as np