Edouard Choinière
|
95cafd1a3f
|
style: Normalise numpy imports with import numpy as np
The convention when importing numpy is to use `import numpy as np`
Fixes: unconventional-import-alias (ICN001)
Ruff rule: https://docs.astral.sh/ruff/rules/unconventional-import-alias/
|
2025-02-08 16:48:57 +00:00 |
|
Alexandre Detiste
|
0257f755cf
|
remove most of Python2 compatibility code
|
2025-02-02 20:17:45 -05:00 |
|
Randy Döring
|
f7d1d8188c
|
Fix NumPy 2.0 deprecations via running ruff (#2580)
* Fix NumPy 2.0 deprecations via running `ruff check --select NPY201 --fix --exclude docs/sphinx/rest_substitutions/snippets/python/converted`
See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-2-0-migration-guide
* Use `numpy.any` instead of `any` because the latter does not work for multidimensional arrays.
|
2024-08-21 19:53:57 -04:00 |
|
PChemGuy
|
112605f540
|
Missing NumPy package reference in FloatCanvas.py
Package reference (N) is missing when NumPy type "float_" is used.
|
2022-08-20 09:27:31 +03:00 |
|
Scott Talbert
|
b5ffe91c74
|
wx.lib.floatcanvas: replace deprecated use of numpy float
|
2021-12-30 14:59:30 -05:00 |
|
Christian Clauss
|
25ba122168
|
Fix typos discovered by codespell
|
2021-08-07 18:55:49 +02:00 |
|
Robin Dunn
|
732ff6752b
|
Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da .
The spelling changes were a bit too aggressive.
|
2020-08-31 13:01:31 -07:00 |
|
DKWoods
|
b87a4d6ed8
|
Fixed Case issues with FloatCanvas.Zoom method
|
2020-07-29 22:28:47 -05:00 |
|
Robin Dunn
|
c00b8950da
|
Spelling fixes in wx.lib
|
2020-07-14 12:53:31 -07:00 |
|
Robin Dunn
|
46ca3dbc70
|
Merge pull request #1337 from swt2c/time_clock_removed
Replace time.clock (removed in Python 3.8) with time.process_time
(cherry picked from commit 59e70e7c76 )
|
2019-09-05 19:46:41 -07:00 |
|
Metallicow
|
546d770ddb
|
Trim Whitespace floatcanvas directory
|
2016-10-12 22:38:31 -05:00 |
|
Robin Dunn
|
07164aba1a
|
Merge pull request #110 from RobinD42/use-pytest
Use pytest for running unittests
|
2016-07-07 21:38:56 -07:00 |
|
Robin Dunn
|
1d1fc7c187
|
More docstring ref fixes in wx.lib
|
2016-07-07 09:58:04 -07:00 |
|
Robin Dunn
|
cc3190e240
|
Lots more docstring refs fixed
|
2016-07-06 20:20:10 -07:00 |
|
Robin Dunn
|
488f29b05a
|
Fix docstring references to wx.Bitmap
|
2016-07-06 18:45:16 -07:00 |
|
Robin Dunn
|
b8138a2a2f
|
Fix imports in some tests and in floatcanvas
|
2016-07-01 01:45:53 -07:00 |
|
Scott Talbert
|
ee745fb7b3
|
Remove shebang from non-executable files - fixes rpmlint errors
|
2016-06-03 21:38:07 -04:00 |
|
wernerfb
|
8304c859f8
|
- mouse move would sometime fire HitTest and cause an exception
- add the keepPointInPlace to Zoom, another change to SVN which did not make it to Phoenix
|
2015-09-21 17:40:25 +02:00 |
|
wernerfb
|
2139fbab55
|
- move Group class to FCObjects
|
2015-09-16 10:24:42 +02:00 |
|
Werner F Bruhin
|
d548a5b310
|
- if it is not called in FCObjects we need to call it here
|
2015-02-11 14:45:18 +01:00 |
|
Werner F Bruhin
|
384af619b5
|
- format changes to doc
- commented or removed a few print statements
|
2015-02-11 14:05:06 +01:00 |
|
Werner F Bruhin
|
871241c66b
|
- refactor of FloatCanvas package, unittest and demo run on Py27 and Py33
|
2014-06-05 11:09:18 +02:00 |
|
Werner F Bruhin
|
ca162ee926
|
- a few Py3 changes
- add tags
|
2014-05-26 12:58:45 +02:00 |
|
Andrea Gavana
|
a2b514bf53
|
Phoenix docs: fix floatcanvas/FloatCanvas.py docstrings to avoid Sphinx warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-02-09 13:14:42 +00:00 |
|
Robin Dunn
|
74ddaf3d64
|
Shuffle some FloatCanvas code around a little to avoid a circular import problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-28 03:57:37 +00:00 |
|
Robin Dunn
|
b0fa504d1d
|
PR 41 from Metallicow. Pen and Brush style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-11 23:12:52 +00:00 |
|
Robin Dunn
|
6faf213a76
|
Change all <> to !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2014-01-01 04:23:33 +00:00 |
|
Robin Dunn
|
20dfedff42
|
Fix circular import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-08-10 20:54:22 +00:00 |
|
Robin Dunn
|
9f24505715
|
Merge of PR 11 with the whitespace-only changes omitted.
See https://github.com/RobinD42/Phoenix/pull/11
Mostly phoenix-port changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-07-10 01:15:34 +00:00 |
|
Robin Dunn
|
585f1a11cc
|
Don't mess with the natural ImportError if numpy is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-07-07 06:50:49 +00:00 |
|
Robin Dunn
|
2e30a88173
|
Some Py3 and various other fixes from wxGuru.
Merged and squashed from https://github.com/RobinD42/Phoenix/pull/15,
with additional edits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-07-05 20:54:22 +00:00 |
|
Robin Dunn
|
803aace8ab
|
Floatcanvas patch from Wenrer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-06-06 01:58:55 +00:00 |
|
Robin Dunn
|
a9f3859f3e
|
Floatcanvas docs and test updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-05-14 02:53:56 +00:00 |
|
Robin Dunn
|
1447c3d50a
|
More FloatCanvas updates from Werner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-05-04 02:00:24 +00:00 |
|
Robin Dunn
|
629403af5e
|
fix indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-04-26 07:04:25 +00:00 |
|
Robin Dunn
|
e31baa0d8e
|
Patch updating FloatCanvas for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-04-26 06:41:06 +00:00 |
|
Robin Dunn
|
247673201b
|
Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-07-13 01:36:07 +00:00 |
|