import matplotlib.
pyplot as plt
import [Link] as ccrs
fig, ax = [Link](figsize=(9,7), subplot_kw={'projection': [Link]()})
# Définir l'étendue sur le Cameroun
ax.set_extent([9, 16, 2, 13])
# Tracer les précipitations avec pcolormesh
pcm = [Link](
climatologie['lon'], climatologie['lat'],
[Link](month=7),
cmap='PuBuGn', # palette de couleurs
shading='auto', # pour éviter les warnings
alpha=0.8 # transparence si tu veux voir le fond
# Ajouter fond terrestre
import [Link] as cfeature
ax.add_feature([Link], facecolor='lightgray')
ax.add_feature([Link], facecolor='lightblue', alpha=0.3)
ax.add_feature([Link])
ax.add_feature([Link], linestyle=':', edgecolor='black')
# Colorbar personnalisée
cbar = [Link](pcm, ax=ax, orientation='vertical', shrink=0.7, pad=0.02)
cbar.set_label("Précipitations (mm/mois)", fontsize=12)
# Grille et labels
gl = [Link](draw_labels=True, dms=True, x_inline=False, y_inline=False)
[Link]("Précipitations moyennes en Juillet", fontsize=14)
[Link]()