visualize_5_23.py 222 B

123456789
  1. def pvalue_symbol(pv=None, symbol=None):
  2. if 0.05 >= pv > 0.01:
  3. return symbol
  4. elif 0.01 >= pv > 0.001:
  5. return 2 * symbol
  6. elif pv <= 0.001:
  7. return 3 * symbol
  8. else:
  9. return None