Reversed former changes, no need for math module.
This commit is contained in:
parent
af555ab1ee
commit
2954e5acea
@ -9,7 +9,6 @@ import warnings
|
|||||||
import copy
|
import copy
|
||||||
import datetime
|
import datetime
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import math
|
|
||||||
|
|
||||||
from matplotlib.figure import Figure
|
from matplotlib.figure import Figure
|
||||||
from pylot.core.util.utils import find_horizontals
|
from pylot.core.util.utils import find_horizontals
|
||||||
@ -243,7 +242,6 @@ class ComparisonDialog(QDialog):
|
|||||||
std=std, exp=exp)
|
std=std, exp=exp)
|
||||||
bbox_props = dict(boxstyle='round', facecolor='lightgrey', alpha=.7)
|
bbox_props = dict(boxstyle='round', facecolor='lightgrey', alpha=.7)
|
||||||
|
|
||||||
if math.isnan(std) == False:
|
|
||||||
plot_pdf(_axes, x, y, annotation, bbox_props, 'time difference [s]',
|
plot_pdf(_axes, x, y, annotation, bbox_props, 'time difference [s]',
|
||||||
'propability density [-]', phase)
|
'propability density [-]', phase)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user