Home Forums Nazca type error when using sympy – fixed by converting to float Reply To: type error when using sympy – fixed by converting to float

#6278
Xaveer
Moderator

Dear Bastien,

What is the error you get? When I run it the error comes from matplotlib, not from Nazca.
If I replace export_plt() with export_gds() it runs fine.

Xaveer

Nazca 0.5.12, Matplotlib 3.3.2, Python 3.8.6. Error messsage:

File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 321, in __init__
    if not np.isfinite(figsize).all() or (np.array(figsize) < 0).any():
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not
be safely coerced to any supported types according to the casting rule ''safe''