mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Replace use of matplotlib.colors with _SVG_NAMES dictionary
This commit is contained in:
parent
70ce242ed7
commit
9dec183b53
5 changed files with 176 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue