Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
750afd20
Commit
750afd20
authored
5 years ago
by
Mikhail Karnevskiy
Browse files
Options
Downloads
Patches
Plain Diff
Use white instead of nans
parent
30f04b44
Branches
fix/add_JUNGF_webservice_3runs
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!164
Fix: Use white instead of nans
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/plotting.py
+1
-1
1 addition, 1 deletion
cal_tools/cal_tools/plotting.py
with
1 addition
and
1 deletion
cal_tools/cal_tools/plotting.py
+
1
−
1
View file @
750afd20
...
...
@@ -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
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment