(ax, fontsize=12, nodec=False)
| 17 | |
| 18 | |
| 19 | def example_plot(ax, fontsize=12, nodec=False): |
| 20 | ax.plot([1, 2]) |
| 21 | ax.locator_params(nbins=3) |
| 22 | if not nodec: |
| 23 | ax.set_xlabel('x-label', fontsize=fontsize) |
| 24 | ax.set_ylabel('y-label', fontsize=fontsize) |
| 25 | ax.set_title('Title', fontsize=fontsize) |
| 26 | else: |
| 27 | ax.set_xticklabels([]) |
| 28 | ax.set_yticklabels([]) |
| 29 | |
| 30 | |
| 31 | def example_pcolor(ax, fontsize=12): |
no test coverage detected
searching dependent graphs…