Tianzhu Qiao

Results 9 comments of Tianzhu Qiao

Not really. Tried to replace the recursive function with a for loop; but for some unknown reason, it only runs intermittently.

How about replacing **wx.BufferedPaintDC** with **wx.AutoBufferedPaintDC**? https://wxpython.org/Phoenix/docs/html/wx.AutoBufferedPaintDC.html And looks like some other class has similar issue, e.g., agw.aui.auibook.AuiTabCtrl https://github.com/wxWidgets/Phoenix/blob/9a8a9b019ceba2a5140d98ae3ce2a53ec8c3d577/wx/lib/agw/aui/auibook.py#L1992

Do we have plan to merge this? This makes more sense especially if the task takes long to run (and the running time may vary)

Thanks for the PR. The text/plot looks great on macOS. However, for the following code, the initial plot screen doesn't looks correct, and the toolbar also looks a little weird....

@jmoraleda, sure, no problem. And `draw_rubberband` may also need to be updated, otherwise, it shows in a wrong location. https://github.com/matplotlib/matplotlib/blob/e470c70e99995b47555402e53a98fb6c815d4dce/lib/matplotlib/backends/backend_wx.py#L1124

Thanks. The initial plot and icon size look great on Mac now. ![image](https://github.com/matplotlib/matplotlib/assets/12435643/96a41a6f-eea3-4751-a2b2-7b5b20e9f0a6)

Thanks @jmoraleda , `draw_rubberband` works on macOS now.

@jmoraleda, thanks, just tested it on macOS, it shows the same issue with the change (always use wx.CallAfter)

Thanks @canmetan. Tried some other wxpython applications, it shows the same issue on my MacOS. And didn't see the same issue on non-wxpython applications (e.g., Finder, but I am also...