Skip to content
Snippets Groups Projects
Commit 750afd20 authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

Use white instead of nans

parent 30f04b44
Branches fix/add_JUNGF_webservice_3runs
No related tags found
1 merge request!164Fix: Use white instead of nans
......@@ -84,7 +84,7 @@ def plot_badpix_3d(data, definitions, title=None, rebin_fac=2, azim=22.5):
d, dims = rebin(od.astype(np.uint32), od.shape[0]//rebin_fac, od.shape[1]//rebin_fac, od.shape[2])
xx, yy, zz = dims
voxels = d.astype(np.bool)
colors = np.empty(voxels.shape, dtype=object)
colors = np.full(voxels.shape, '#FFFFFF')
cols = definitions
for k, c in cols.items():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment