Skip to content

RuntimeWarning: overflow encountered in cast when plotting numpy.float32 curve data #101

@PierreRaybaut

Description

@PierreRaybaut
Traceback (most recent call last):
  File "...\PythonQwt\qwt\transform.py", line 173, in bounded
    return np.clip(value, self.LogMin, self.LogMax)
  File "...\python-3.10.11.amd64\lib\site-packages\numpy\_core\fromnumeric.py", line 2330, in clip
    return _wrapfunc(a, 'clip', a_min, a_max, out=out, **kwargs)
  File "...\python-3.10.11.amd64\lib\site-packages\numpy\_core\fromnumeric.py", line 57, in _wrapfunc
    return bound(*args, **kwds)
  File "...\python-3.10.11.amd64\lib\site-packages\numpy\_core\_methods.py", line 116, in _clip
    return um.clip(a, min, max, out=out, **kwargs)
RuntimeWarning: overflow encountered in cast

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions