diff options
-rw-r--r-- | wqflask/wqflask/static/new/javascript/plotly_probability_plot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js b/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js index d52cb100..38c18d2b 100644 --- a/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js +++ b/wqflask/wqflask/static/new/javascript/plotly_probability_plot.js @@ -161,7 +161,7 @@ intercept_line['samples_all'] = [[first_x, last_x], [first_value, last_value]] } - if (Math.max(y_values['samples_all']) - Math.min(y_values['samples_all']) < 6){ + if (Math.max(...y_values['samples_all']) - Math.min(...y_values['samples_all']) < 4){ tick_digits = '.1f' } else { tick_digits = 'f' |