Skip to content

Commit 5829e75

Browse files
committed
Set cbar=True
1 parent 1c51221 commit 5829e75

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ess/dream/instrument_view.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(
9999
self.slice_nodes = self.pre_process_nodes
100100
to_scatter = self.pre_process_nodes
101101

102+
kwargs.setdefault('cbar', True)
102103
self.fig = pp.scatter3d(
103104
to_scatter,
104105
pos="position",

src/ess/snspowder/powgen/instrument_view.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def instrument_view(
3636
# unit=da.coords[positions].unit)
3737
# }
3838
# }
39+
kwargs.setdefault('cbar', True)
3940
return scn.instrument_view(
4041
da, positions=positions, components=components, pixel_size=pixel_size, **kwargs
4142
)

0 commit comments

Comments
 (0)