| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Does anyone know why we need to route through tk.call instead of the Python-C API? Then we wouldn't have to bother with this string parsing to transfer pointers. |
Sorry, something went wrong.
|
@QuLogic My guess is that answer is lost to the sands of time and changing it is probably a bigger change than we want to fit in for 2.2. |
Sorry, something went wrong.
There was a problem hiding this comment.
Yeah, this is in the blitting code, which doesn't get a lot of attention. There has always been some weirdness with the image buffer and Tk because Tk does not provide a python API for passing it around.
Is this the only place where this is done? Have we looked at what is done elsewhere for the image buffer?
Sorry, something went wrong.
| @@ -74,9 +74,9 @@ static int PyAggImagePhoto(ClientData clientdata, Tcl_Interp *interp, int | |||
| return TCL_ERROR; | |||
| } | |||
| /* get buffer from str which is "ptr height width" */ | |||
There was a problem hiding this comment.
you'll want to update the comment
Sorry, something went wrong.
There was a problem hiding this comment.
fixed in 816ffba
Sorry, something went wrong.
|
@tacaswell sorry for not properly testing |
Sorry, something went wrong.
|
@ImportanceOfBeingErnest are you able to test this? |
Sorry, something went wrong.
|
@QuLogic If testing means building matplotlib from source, I'm affraid I can't do that currently. |
Sorry, something went wrong.
|
We can leave it for the next rc. |
Sorry, something went wrong.
|
@QuLogic : (Could you) Run the test suite, @ImportanceOfBeingErnest . (Sorry, I could not resist 🐑 . The exact reference is of course this one) |
Sorry, something went wrong.
Backport PR #10486 on branch v2.2.x
| Back | FazBrowse Home | New Git URL |
PR Summary
Fix issue #10479 which was caused by a quirk (bug?) in the way sscanf works on MSVC (windows). It seems that additional values cannot be used after "%Iu" which scans into size_t
Also added line drawing in an interactive test