Skip to content

Commit db89884

Browse files
committed
rm mean logic
1 parent 8d642e7 commit db89884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hapiplot/hapiplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def hapiplot(*args, **kwargs):
536536
y = fill2nan(y, meta["parameters"][i]['fill'])
537537

538538
remove_mean = False
539-
if 'uk/GIN_' in meta['x_server']:
539+
if 'uk/GIN_' in meta['x_server'] and (ptype == 'integer' or ptype == 'double'):
540540
remove_mean = True
541541
y_mean = np.nanmean(y, axis=0)
542542

0 commit comments

Comments
 (0)