()
| 71 | |
| 72 | @image_comparison(['bold_font_output.svg'], style='mpl20') |
| 73 | def test_bold_font_output(): |
| 74 | fig, ax = plt.subplots() |
| 75 | ax.plot(np.arange(10), np.arange(10)) |
| 76 | ax.set_xlabel('nonbold-xlabel') |
| 77 | ax.set_ylabel('bold-ylabel', fontweight='bold') |
| 78 | # set weight as integer to assert it's handled properly |
| 79 | ax.set_title('bold-title', fontweight=600) |
| 80 | |
| 81 | |
| 82 | @image_comparison(['bold_font_output_with_none_fonttype.svg'], style='_classic_test') |
nothing calls this directly
no test coverage detected
searching dependent graphs…