We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d406208 commit 16c4c14Copy full SHA for 16c4c14
defensive_style.md
@@ -24,20 +24,3 @@ could be misused mischievously or inadvertently to catastrophic effect.
24
- Asserts
25
- Logging
26
- Unit tests
27
-
28
---------------------------------------------------
29
30
-# Example
31
32
- !python
33
- def normalize_ranges(original_data_range):
34
- colspan = button_state['datamax'] - button_state['datamin']
35
36
- # 1-D numpy array of data
37
- live_data = get_column_data(button_state['colname'])
38
39
- ratio = {}
40
- ratio['min'] = button_state['datamin'] / colspan
41
- ratio['max'] = button_state['datamax'] / colspan
42
43
- return ratio
0 commit comments