Skip to content

Commit 34552b0

Browse files
committed
fixed bug where plotting rainbowclouds modified the norm
1 parent a885536 commit 34552b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyhdx/plot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ def rainbowclouds_figure(data, reference=None, field='dG', norm=None, cmap=None,
555555

556556
#scaling
557557
plot_data *= 1e-3
558+
norm = copy(norm)
558559
norm.vmin = norm.vmin * 1e-3
559560
norm.vmax = norm.vmax * 1e-3
560561

0 commit comments

Comments
 (0)