You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system: Linux Mint 21.2 wxPython version & source: 4.2.1 from pypi Python version & source: 3.10.12 from distro Numpy version & source: 1.26.2 from pypi
When I ran the app, it output the following warning:
/home/richardt/Development/python/exp/hci/wxpython/float_canvas/float_canvas_1.py:25: DeprecationWarning: `sometrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `any` instead.
self.Canvas.Draw()
Line 604 in FloatCanvas.py for the FloatCanvas.Draw() method contains:
if N.sometrue(self.PanelSize <= 2 ):
I did a recursive search of my wxPython 4.2.1 installation and found that sometrue also occurs in line 2047 of lib/plot/plotcanvas.py:
Operating system: Linux Mint 21.2
wxPython version & source: 4.2.1 from pypi
Python version & source: 3.10.12 from distro
Numpy version & source: 1.26.2 from pypi
Description of the problem:
I copied the code from the docs for the FloatCanvas package into a small test app (see example below).
When I ran the app, it output the following warning:
Line 604 in FloatCanvas.py for the FloatCanvas.Draw() method contains:
I did a recursive search of my wxPython 4.2.1 installation and found that
sometrue
also occurs in line 2047 oflib/plot/plotcanvas.py
:Code Example (click to expand)
The text was updated successfully, but these errors were encountered: