|
20 | 20 | constrained_layout=True)
|
21 | 21 |
|
22 | 22 | for label, ax in axs.items():
|
23 |
| - # 10 points in and 5 points down: |
| 23 | + # label physical distance in and down: |
24 | 24 | trans = mtransforms.ScaledTranslation(10/72, -5/72, fig.dpi_scale_trans)
|
25 | 25 | ax.text(0.0, 1.0, label, transform=ax.transAxes + trans,
|
26 | 26 | fontsize='medium', va='top', fontfamily='serif',
|
|
36 | 36 | constrained_layout=True)
|
37 | 37 |
|
38 | 38 | for label, ax in axs.items():
|
39 |
| - # 10 points in and 5 points down: |
| 39 | + # label physical distance to the left and up: |
40 | 40 | trans = mtransforms.ScaledTranslation(-20/72, 7/72, fig.dpi_scale_trans)
|
41 | 41 | ax.text(0.0, 1.0, label, transform=ax.transAxes + trans,
|
42 | 42 | fontsize='medium', va='bottom', fontfamily='serif')
|
|
51 | 51 | constrained_layout=True)
|
52 | 52 |
|
53 | 53 | for label, ax in axs.items():
|
54 |
| - # 10 points in and 5 points down: |
55 | 54 | ax.set_title('Normal Title', fontstyle='italic')
|
56 | 55 | ax.set_title(label, fontfamily='serif', loc='left', fontsize='medium')
|
57 | 56 |
|
|
0 commit comments