FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

FIX: argument order in RendereAgg.restore_region by tacaswell · Pull Request #4951 · matplotlib/matplotlib · GitHub

Repository navigation

FIX: argument order in RendereAgg.restore_region - #4951

Merged
WeatherGod merged 1 commit into
matplotlib:masterfrom
tacaswell:fix_transpose_in_agg
Aug 18, 2015
Merged

WeatherGod merged 1 commit into
matplotlib:masterfrom
tacaswell:fix_transpose_in_agg

Conversation

Copy link
Copy Markdown
Member

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 #4947

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
tacaswell added this to the next point release milestone Aug 18, 2015
WeatherGod added a commit that referenced this pull request Aug 18, 2015
FIX: argument order in RendereAgg.restore_region
WeatherGod merged commit 4fd00b0 into matplotlib:master Aug 18, 2015
tacaswell deleted the fix_transpose_in_agg branch August 18, 2015 13:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

animation blitting is no longer working

2 participants


Back | FazBrowse Home | New Git URL