Skip to content

Commit c2544b0

Browse files
committed
better coverage
1 parent fd753ab commit c2544b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyobs/core/error.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def sigma(self):
144144
out1[a] = self.var[i, 1] / self.N[i]
145145
return [out0, out1]
146146

147-
def plot(self, xlab, desc, ed, pfile): # pragma: no cover
147+
def plot(self, xlab, desc, ed, pfile):
148148
for a in range(self.size):
149149
plt.figure()
150150
plt.title(f"{desc}; {ed}; {a}")
@@ -179,7 +179,7 @@ def cum_var(self):
179179
return [self.x, self.cvar, dy]
180180

181181

182-
def plot_piechart(desc, errs, tot): # pragma: no cover
182+
def plot_piechart(desc, errs, tot):
183183
n = numpy.reciprocal(tot)
184184
s = numpy.size(tot)
185185
x = []

pyobs/misc/plotter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def legend(*args, **kwargs):
6161
try:
6262
import matplotlib.pyplot as plt
6363

64-
MATPLOTLIB = True
64+
MATPLOTLIB = True # pragma: no cover
6565
except ImportError:
6666
MATPLOTLIB = False
6767

0 commit comments

Comments
 (0)