Commit 0e487fd
committed
Pass 'figure' as kwarg to FigureCanvasQt5Agg super __init__.
Otherwise, creating FigureCanvas fails using PyQt4, PySide and PySide2
(because the super-class on Qt's side doesn't recognize the positional
argument, but will happily forward keyword arguments).1 parent 38476fd commit 0e487fd
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments