()
| 8617 | |
| 8618 | |
| 8619 | def test_secondary_formatter(): |
| 8620 | fig, ax = plt.subplots() |
| 8621 | ax.set_xscale("log") |
| 8622 | secax = ax.secondary_xaxis("top") |
| 8623 | secax.xaxis.set_major_formatter(mticker.ScalarFormatter()) |
| 8624 | fig.canvas.draw() |
| 8625 | assert isinstance( |
| 8626 | secax.xaxis.get_major_formatter(), mticker.ScalarFormatter) |
| 8627 | |
| 8628 | |
| 8629 | def test_secondary_init_xticks(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…