wx.lib.plot is unusable - uses incompatible constructors API e.g. wx.Cursor instead of wx.CursorFromImage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wxpython3.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 15.10 (wily) the wx.lib.plot module uses wrong constructors - some internal API incompatibility?
For instance wx.lib.
File "/usr/lib/
self.HandCursor = wx.Cursor(
File "/usr/lib/
_gdi_
TypeError: Required argument 'type' (pos 2) not found
It seems wx.Cursor should be now wx.CursorFromImage.
Here is more comprehensive list of incompatibilities between wx.lib.plot and rest of wx
wx.Cursor => wx.CursorFromImage
wx.Bitmap => wx.EmptyBitmap
wx.Colour => wx.NamedColour
To make wx.lib.plot usable in Ubuntu 15.10, these two patches (or more) from github are required:
https:/
https:/
If someone knows a workaround, would appreciate a hint.
This bug was fixed in the package wxpython3.0 - 3.0.2.0+dfsg-3
---------------
wxpython3.0 (3.0.2.0+dfsg-3) unstable; urgency=medium
* Add myself to Uploaders.
* Add patch to fix wx.lib.plot (LP: #1545698)
-- Scott Talbert <email address hidden> Mon, 18 Jul 2016 20:21:42 -0400