Commit c978fac
committed
Support multi-figure MultiCursor; prepare improving its signature.
Support MultiCursor with Axes spread over different figures.
As a consequence, the first parameter of MultiCursor (`canvas`) has
become meaningless (requiring the user to pass in
`[ax.figure.canvas for ax in axes]` seems pointless); just ignore that
argument.
While we're at it, also move some parameters of MultiCursor towards
being keyword-only, to prepare for a hopefully better signature without
the `canvas` parameter at all.1 parent 0d39a4f commit c978fac
File tree
5 files changed
+65
-27
lines changed- doc
- api/next_api_changes/deprecations
- users/next_whats_new
- examples/widgets
- lib/matplotlib
- tests
5 files changed
+65
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | | - | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
1519 | | - | |
| 1519 | + | |
| 1520 | + | |
1520 | 1521 | | |
1521 | 1522 | | |
1522 | 1523 | | |
1523 | | - | |
| 1524 | + | |
1524 | 1525 | | |
1525 | 1526 | | |
1526 | 1527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | | - | |
1684 | | - | |
| 1683 | + | |
| 1684 | + | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
| |||
1708 | 1708 | | |
1709 | 1709 | | |
1710 | 1710 | | |
| 1711 | + | |
1711 | 1712 | | |
1712 | 1713 | | |
1713 | | - | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1714 | 1718 | | |
1715 | 1719 | | |
1716 | 1720 | | |
1717 | 1721 | | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
1718 | 1725 | | |
1719 | 1726 | | |
1720 | 1727 | | |
1721 | 1728 | | |
1722 | 1729 | | |
1723 | 1730 | | |
1724 | | - | |
1725 | | - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1726 | 1734 | | |
1727 | 1735 | | |
1728 | 1736 | | |
| |||
1742 | 1750 | | |
1743 | 1751 | | |
1744 | 1752 | | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
1745 | 1757 | | |
1746 | 1758 | | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
1750 | 1764 | | |
1751 | 1765 | | |
1752 | 1766 | | |
1753 | | - | |
1754 | | - | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
1755 | 1771 | | |
1756 | 1772 | | |
1757 | 1773 | | |
1758 | 1774 | | |
1759 | 1775 | | |
1760 | 1776 | | |
1761 | | - | |
1762 | | - | |
| 1777 | + | |
| 1778 | + | |
1763 | 1779 | | |
1764 | 1780 | | |
1765 | 1781 | | |
1766 | 1782 | | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
1770 | | - | |
1771 | | - | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
1772 | 1786 | | |
1773 | 1787 | | |
1774 | 1788 | | |
| |||
1785 | 1799 | | |
1786 | 1800 | | |
1787 | 1801 | | |
1788 | | - | |
1789 | | - | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
1790 | 1805 | | |
1791 | 1806 | | |
1792 | 1807 | | |
1793 | 1808 | | |
1794 | 1809 | | |
1795 | 1810 | | |
1796 | | - | |
| 1811 | + | |
| 1812 | + | |
1797 | 1813 | | |
1798 | | - | |
| 1814 | + | |
| 1815 | + | |
1799 | 1816 | | |
1800 | 1817 | | |
1801 | 1818 | | |
| |||
0 commit comments