pyphi.visualize.render.common.rescale# pyphi.visualize.render.common.rescale(values, lo, hi)[source]# Map values linearly onto [lo, hi]; midpoint if they are all equal. Parameters: values (list[float]) lo (float) hi (float) Return type: list[float]