Closed jeanconn closed 4 years ago
Yes, the following code causes this error:
a = np.array(2)
f'ra={a:.5f}'
The current version returns a numpy scalar, which is not recognized as a float by the string format. I will add an if statement to cast the result to float when shape is ().