@@ -165,7 +165,7 @@ def test_sampling(self):
165165 np .array ([str (x ) for x in d ], dtype = object )
166166 graph .reset_graph ()
167167 self .process_events (until = lambda : not (
168- self .graph ._timer is not None and self .graph ._timer .isActive ()))
168+ self .graph .timer is not None and self .graph .timer .isActive ()))
169169
170170 # Check proper sampling
171171 scatterplot_item = graph .scatterplot_item
@@ -194,7 +194,7 @@ def test_sampling(self):
194194 # Check that sample is extended when sample size is changed
195195 graph .set_sample_size (4 )
196196 self .process_events (until = lambda : not (
197- self .graph ._timer is not None and self .graph ._timer .isActive ()))
197+ self .graph .timer is not None and self .graph .timer .isActive ()))
198198 scatterplot_item = graph .scatterplot_item
199199 x , y = scatterplot_item .getData ()
200200 data = scatterplot_item .data
@@ -235,7 +235,7 @@ def test_sampling(self):
235235 # Enable sampling when data is already present and not sampled
236236 graph .set_sample_size (3 )
237237 self .process_events (until = lambda : not (
238- self .graph ._timer is not None and self .graph ._timer .isActive ()))
238+ self .graph .timer is not None and self .graph .timer .isActive ()))
239239 scatterplot_item = graph .scatterplot_item
240240 x , y = scatterplot_item .getData ()
241241 data = scatterplot_item .data
@@ -272,7 +272,7 @@ def test_sampling(self):
272272 d = self .xy [0 ] - 100
273273 graph .reset_graph ()
274274 self .process_events (until = lambda : not (
275- self .graph ._timer is not None and self .graph ._timer .isActive ()))
275+ self .graph .timer is not None and self .graph .timer .isActive ()))
276276 scatterplot_item = graph .scatterplot_item
277277 x , y = scatterplot_item .getData ()
278278 self .assertEqual (len (x ), 3 )
@@ -378,7 +378,7 @@ def test_size_with_nans(self):
378378 d [4 ] = np .nan
379379 graph .update_sizes ()
380380 self .process_events (until = lambda : not (
381- self .graph ._timer is not None and self .graph ._timer .isActive ()))
381+ self .graph .timer is not None and self .graph .timer .isActive ()))
382382 sizes2 = scatterplot_item .data ["size" ]
383383
384384 self .assertEqual (sizes [1 ] - sizes [0 ], sizes2 [1 ] - sizes2 [0 ])
0 commit comments