()
| 1394 | |
| 1395 | @image_comparison(['symlog2.pdf'], remove_text=True, style='_classic_test') |
| 1396 | def test_symlog2(): |
| 1397 | # Numbers from -50 to 50, with 0.1 as step |
| 1398 | x = np.arange(-50, 50, 0.001) |
| 1399 | |
| 1400 | fig, axs = plt.subplots(5, 1) |
| 1401 | for ax, linthresh in zip(axs, [20., 2., 1., 0.1, 0.01]): |
| 1402 | ax.plot(x, x) |
| 1403 | ax.set_xscale('symlog', linthresh=linthresh) |
| 1404 | ax.grid(True) |
| 1405 | axs[-1].set_ylim(-0.1, 0.1) |
| 1406 | |
| 1407 | |
| 1408 | def test_pcolorargs_5205(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…