(xminor, yminor, i)
| 1830 | fig = plt.figure() |
| 1831 | |
| 1832 | def minorticksubplot(xminor, yminor, i): |
| 1833 | rc = {'xtick.minor.visible': xminor, |
| 1834 | 'ytick.minor.visible': yminor} |
| 1835 | with plt.rc_context(rc=rc): |
| 1836 | ax = fig.add_subplot(2, 2, i) |
| 1837 | |
| 1838 | assert (len(ax.xaxis.get_minor_ticks()) > 0) == xminor |
| 1839 | assert (len(ax.yaxis.get_minor_ticks()) > 0) == yminor |
| 1840 | |
| 1841 | minorticksubplot(False, False, 1) |
| 1842 | minorticksubplot(True, False, 2) |
no test coverage detected
searching dependent graphs…