Earlier, depicting of infinity was using the string `'inf'`. Now it has been converted to support `math.inf` or any of it's variants.
Before updating, please check if you have been using comparisons to `'inf'` , like `slope == 'inf'`. You will have to change those to something like `slope == math.inf` or `slope == float('inf')`.