Commit 3847471
committed
Simplify PolarAxes.can_pan.
In the modified code, dt0 is always == -dt1 so they have the same
absolute value and the else clause is always triggered.
This is used in polar pan mode, which, when using the left mouse button,
allows one to move the radial tick labels around... (the right mouse
button allows zooming in and out (changing rmax, which seems less
obscure.)1 parent 1a89250 commit 3847471
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
| 1401 | + | |
1408 | 1402 | | |
1409 | 1403 | | |
1410 | 1404 | | |
| |||
0 commit comments