Python matplotlib._init_tests() Examples

The following are 5 code examples of matplotlib._init_tests(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module matplotlib , or try the search function .
Example #1
Source File: conftest.py    From GraphicDesignPatternByPython with MIT License 5 votes vote down vote up
def pytest_configure(config):
    matplotlib.use('agg', force=True)
    matplotlib._called_from_pytest = True
    matplotlib._init_tests() 
Example #2
Source File: conftest.py    From python3_ios with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def pytest_configure(config):
    matplotlib.use('agg', force=True)
    matplotlib._called_from_pytest = True
    matplotlib._init_tests() 
Example #3
Source File: conftest.py    From coffeegrindsize with MIT License 5 votes vote down vote up
def pytest_configure(config):
    matplotlib.use('agg', force=True)
    matplotlib._called_from_pytest = True
    matplotlib._init_tests() 
Example #4
Source File: conftest.py    From CogAlg with MIT License 5 votes vote down vote up
def pytest_configure(config):
    matplotlib.use('agg', force=True)
    matplotlib._called_from_pytest = True
    matplotlib._init_tests() 
Example #5
Source File: conftest.py    From twitter-stock-recommendation with MIT License 5 votes vote down vote up
def pytest_configure(config):
    matplotlib.use('agg')
    matplotlib._called_from_pytest = True
    matplotlib._init_tests()