(ax, fontsize=12)
| 36 | |
| 37 | |
| 38 | def example_plot(ax, fontsize=12): |
| 39 | ax.plot([1, 2]) |
| 40 | |
| 41 | ax.locator_params(nbins=3) |
| 42 | ax.set_xlabel('x-label', fontsize=fontsize) |
| 43 | ax.set_ylabel('y-label', fontsize=fontsize) |
| 44 | ax.set_title('Title', fontsize=fontsize) |
| 45 | |
| 46 | plt.close('all') |
| 47 | fig, ax = plt.subplots() |
no test coverage detected
searching dependent graphs…