Skip to content

FIX: properly mix blitting + redraw in Qt4Agg/Qt5Agg - #8948

Closed
tacaswell wants to merge 1 commit into
matplotlib:masterfrom
tacaswell:fix_qt_draw_with_blit
Closed

tacaswell wants to merge 1 commit into
matplotlib:masterfrom
tacaswell:fix_qt_draw_with_blit

Conversation

@tacaswell

Copy link
Copy Markdown
Member

If a draw is requested on the next paint event update the whole
canvas, not just the blit boxes. Any un-show blitted updates from
before the full redraw are lost (due to the full update) and any
blitted updates from after the full render (but before the paint
event) will be included (because the renderer updates in-place).

Closes #7366

It would be interesting to benchmark of blitting only sub-sections of the canvas actually helps performance.

If a draw is requested on the next paint event update the whole
canvas, not just the blit boxes.  Any un-shown blitted updates from
before the full redraw are lost (due to the full update) and any
blitted updates from after the full render (but before the paint
event) will be included (because the renderer updates in-place).

Closes matplotlib#7366
@tacaswell
tacaswell force-pushed the fix_qt_draw_with_blit branch from ae281e2 to 243d50d Compare July 28, 2017 03:28
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Jul 28, 2017
@anntzer

anntzer commented Jul 28, 2017

Copy link
Copy Markdown
Contributor

See #8951 for an alternate approach and comments regarding performance.

@tacaswell

Copy link
Copy Markdown
Member Author

Closing in favor of #8951

@tacaswell tacaswell closed this Jul 29, 2017
@tacaswell
tacaswell deleted the fix_qt_draw_with_blit branch July 29, 2017 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants