(fig_test, fig_ref)
| 65 | |
| 66 | @check_figures_equal() |
| 67 | def test_log_scales(fig_test, fig_ref): |
| 68 | ax_test = fig_test.add_subplot(122, yscale='log', xscale='symlog') |
| 69 | ax_test.axvline(24.1) |
| 70 | ax_test.axhline(24.1) |
| 71 | xlim = ax_test.get_xlim() |
| 72 | ylim = ax_test.get_ylim() |
| 73 | ax_ref = fig_ref.add_subplot(122, yscale='log', xscale='symlog') |
| 74 | ax_ref.set(xlim=xlim, ylim=ylim) |
| 75 | ax_ref.plot([24.1, 24.1], ylim, 'b') |
| 76 | ax_ref.plot(xlim, [24.1, 24.1], 'b') |
| 77 | |
| 78 | |
| 79 | def test_symlog_mask_nan(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…