... | ... | @@ -165,8 +165,15 @@ axe.text(pt[1]+0.1,pt[0]+0.1,i,fontsize = fs_textongraph,weight="bold") |
|
|
```
|
|
|
|
|
|
## save a figure
|
|
|
```
|
|
|
fig.savefig("pasture_fraction_landuse_input_mapbiomas_1985_2020.pdf", bbox_inches='tight',orientation = 'landscape' )
|
|
|
|
|
|
# multiple pages :
|
|
|
pp = PdfPages('average_difference_maps.pdf')
|
|
|
pp.savefig(bbox_inches='tight',orientation = 'landscape')
|
|
|
pp.close()
|
|
|
```
|
|
|
|
|
|
## text on graph
|
|
|
```
|
|
|
axe.text(i,j,fraction,fontsize = fs_textongraph,weight="bold",rotation="horizontal",transform=fig.transFigure,va="bottom",ha="center")
|
... | ... | |