()
| 211 | |
| 212 | @image_comparison(['semi_log_with_zero.png'], style='mpl20') |
| 213 | def test_log_transform_with_zero(): |
| 214 | x = np.arange(-10, 10) |
| 215 | y = (1.0 - 1.0/(x**2+1))**20 |
| 216 | |
| 217 | fig, ax = plt.subplots() |
| 218 | ax.semilogy(x, y, "-o", lw=15, markeredgecolor='k') |
| 219 | ax.set_ylim(1e-7, 1) |
| 220 | ax.grid(True) |
| 221 | |
| 222 | |
| 223 | def test_make_compound_path_empty(): |