()
| 89 | |
| 90 | |
| 91 | def test_context(): |
| 92 | mpl.rcParams[PARAM] = 'gray' |
| 93 | with temp_style('test', DUMMY_SETTINGS): |
| 94 | with style.context('test'): |
| 95 | assert mpl.rcParams[PARAM] == VALUE |
| 96 | # Check that this value is reset after the exiting the context. |
| 97 | assert mpl.rcParams[PARAM] == 'gray' |
| 98 | |
| 99 | |
| 100 | def test_context_with_dict(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…