Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: argument order in RendereAgg.restore_region
In ba40160 Remove use of PyCXX in core C++ extensions the order of the arguments into the `restore_region` that takes off sets was swapped. The order should be (x1, x2, y1, y2, offset_x, offset_y) which was the order of `restore_region2` (a function removed as part of the refactor in favor of simple dispatch in the wrapper code + c++ function overloading) and the order of the arguments passed out of the python layer, but at the c++ layer they were being mapped to (offset_x, offset_y, x1, x2, y1, y2) which was causing a region not of interest to be restored. closes matplotlib#4947
- Loading branch information