Coverage for tcvx21/observable_c/observable_empty_m.py: 89%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1from .observable_m import Observable 

2 

3class EmptyObservable(Observable): 

4 """ 

5 An observable containing no data 

6 """ 

7 

8 def __init__(self): 

9 pass 

10 

11 def plot(self, *args, **kwargs): 

12 pass 

13 

14 @property 

15 def is_empty(self): 

16 return True