Commit b624546
committed
backend_qt4agg: draw() immediately calls FigureCanvasAgg.draw()
This is the latest in a series of modifications to the Qt4Agg
drawing strategy going back several years. It simplifies the
code and should solve the problem introduced in 6938b00; that
is, delaying the Agg draw operation until the paintEvent breaks
code expecting that draw operation to have occurred immediately.
The problem was reported here:
http://sourceforge.net/mailarchive/message.php?msg_id=282457441 parent 93e4d19 commit b624546
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
| |||
121 | 116 | | |
122 | 117 | | |
123 | 118 | | |
124 | | - | |
| 119 | + | |
| 120 | + | |
125 | 121 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
0 commit comments