... | ... | @@ -141,6 +141,15 @@ cbar=fig.colorbar(im, cax = cbar_ax,orientation="vertical") |
|
|
cbar.ax.tick_params(labelsize=fs_legend,labelleft=False,labelright=True)
|
|
|
cbar.set_label(label=file_name,size=fs_legend,weight='bold')
|
|
|
```
|
|
|
|
|
|
- horizontal below :
|
|
|
```
|
|
|
last_subplot = subplots[0]
|
|
|
cbar_ax = fig.add_axes([last_subplot[0],last_subplot[1]-0.03,last_subplot[2],0.02])
|
|
|
cbar=fig.colorbar(im, cax = cbar_ax,orientation="horizontal")
|
|
|
cbar.ax.tick_params(labelsize=fs_legend,labelleft=False,labelright=True)
|
|
|
cbar.set_label(label="difference (percentage)",size=fs_legend,weight='bold')
|
|
|
```
|
|
|
## Interactive plot
|
|
|
```plaintext
|
|
|
import matplotlib
|
... | ... | |