File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -86,22 +86,22 @@ def test_nrows_error():
86
86
def test_ioff_context ():
87
87
mpl .interactive (True )
88
88
with plt .ioff ():
89
- assert not mpl .is_interactive
90
- assert mpl .is_interactive
89
+ assert not mpl .is_interactive ()
90
+ assert mpl .is_interactive ()
91
91
92
92
mpl .interactive (False )
93
93
with plt .ioff ():
94
- assert not mpl .is_interactive
95
- assert not mpl .is_interactive
94
+ assert not mpl .is_interactive ()
95
+ assert not mpl .is_interactive ()
96
96
97
97
98
98
def test_ion_context ():
99
99
mpl .interactive (False )
100
- with plt .ioff ():
101
- assert mpl .is_interactive
102
- assert not mpl .is_interactive
100
+ with plt .ion ():
101
+ assert mpl .is_interactive ()
102
+ assert not mpl .is_interactive ()
103
103
104
104
mpl .interactive (True )
105
105
with plt .ion ():
106
- assert not mpl .is_interactive
107
- assert mpl .is_interactive
106
+ assert mpl .is_interactive ()
107
+ assert mpl .is_interactive ()
You can’t perform that action at this time.
0 commit comments