Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FIX: argument order in RendereAgg.restore_region#4951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@tacaswell
Copy link
Member

Inba40160 Remove use of PyCXX in core C++ extensions the order
of the arguments into therestore_region that takes off sets
was swapped. The order should be (x1, x2, y1, y2, offset_x, offset_y)
which was the order ofrestore_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

Inba40160 Remove use of PyCXX in core C++ extensions the orderof the arguments into the `restore_region` that takes off setswas swapped.  The order should be (x1, x2, y1, y2, offset_x, offset_y)which was the order of `restore_region2` (a function removed as partof the refactor in favor of simple dispatch in the wrapper code +c++ function overloading) and the order of the arguments passedout of the python layer, but at the c++ layer they were being mappedto (offset_x, offset_y, x1, x2, y1, y2) which was causing a regionnot of interest to be restored.closesmatplotlib#4947
@tacaswelltacaswell added this to thenext point release milestoneAug 18, 2015
WeatherGod added a commit that referenced this pull requestAug 18, 2015
FIX: argument order in RendereAgg.restore_region
@WeatherGodWeatherGod merged commit4fd00b0 intomatplotlib:masterAug 18, 2015
@tacaswelltacaswell deleted the fix_transpose_in_agg branchAugust 18, 2015 13:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.5.0

Development

Successfully merging this pull request may close these issues.

animation blitting is no longer working

2 participants

@tacaswell@WeatherGod

[8]ページ先頭

©2009-2025 Movatter.jp