(ax, fontsize=12)
| 17 | |
| 18 | |
| 19 | def example_plot(ax, fontsize=12): |
| 20 | ax.plot([1, 2]) |
| 21 | ax.locator_params(nbins=3) |
| 22 | ax.set_xlabel('x-label', fontsize=fontsize) |
| 23 | ax.set_ylabel('y-label', fontsize=fontsize) |
| 24 | ax.set_title('Title', fontsize=fontsize) |
| 25 | |
| 26 | |
| 27 | @image_comparison(['tight_layout1'], style='mpl20') |
no test coverage detected
searching dependent graphs…