Corrige le texte qui débordait des boîtes dans les schémas, et l'en-tête des PDF

toile() laissait les marges par défaut de matplotlib : une unité valait ~0,78 cm au lieu de 1 cm, les boîtes étaient donc trop petites pour leur texte. Les axes occupent désormais toute la figure, et boite() réduit la police si le texte dépasse encore (ajuster_texte). En-tête et pied de page : grille et align() à la place de #h(1fr), neutralisé par le préambule de Quarto (titre renvoyé à la ligne, numéro de page à gauche).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Artemia
2026-10-18 16:25:29 +02:00
co-authored by Claude Opus 5.5
parent 379cd03bc5
commit 170588dc2c
34 changed files with 2133 additions and 2120 deletions
+116 -116
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="363.628346pt" height="106.072441pt" viewBox="0 0 363.628346 106.072441" xmlns="http://www.w3.org/2000/svg" version="1.1">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="467.943307pt" height="133.455118pt" viewBox="0 0 467.943307 133.455118" xmlns="http://www.w3.org/2000/svg" version="1.1">
<metadata>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<cc:Work>
@@ -20,95 +20,95 @@
</defs>
<g id="figure_1">
<g id="patch_1">
<path d="M 0 106.072441
L 363.628346 106.072441
L 363.628346 0
<path d="M 0 133.455118
L 467.943307 133.455118
L 467.943307 0
L 0 0
z
" style="fill: #ffffff"/>
</g>
<g id="axes_1">
<g id="patch_2">
<path d="M 13.202362 54.127559
L 57.947244 54.127559
Q 61.22126 54.127559 61.22126 50.853543
L 61.22126 33.392126
Q 61.22126 30.11811 57.947244 30.11811
L 13.202362 30.11811
Q 9.928346 30.11811 9.928346 33.392126
L 9.928346 50.853543
Q 9.928346 54.127559 13.202362 54.127559
<path d="M 14.995276 68.144882
L 73.105512 68.144882
Q 77.35748 68.144882 77.35748 63.892913
L 77.35748 41.215748
Q 77.35748 36.96378 73.105512 36.96378
L 14.995276 36.96378
Q 10.743307 36.96378 10.743307 41.215748
L 10.743307 63.892913
Q 10.743307 68.144882 14.995276 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #f3f4f6; stroke: #6b7280; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #f3f4f6; stroke: #6b7280; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="patch_3">
<path d="M 71.69811 54.127559
L 116.442992 54.127559
Q 119.717008 54.127559 119.717008 50.853543
L 119.717008 33.392126
Q 119.717008 30.11811 116.442992 30.11811
L 71.69811 30.11811
Q 68.424094 30.11811 68.424094 33.392126
L 68.424094 50.853543
Q 68.424094 54.127559 71.69811 54.127559
<path d="M 90.96378 68.144882
L 149.074016 68.144882
Q 153.325984 68.144882 153.325984 63.892913
L 153.325984 41.215748
Q 153.325984 36.96378 149.074016 36.96378
L 90.96378 36.96378
Q 86.711811 36.96378 86.711811 41.215748
L 86.711811 63.892913
Q 86.711811 68.144882 90.96378 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="patch_4">
<path d="M 130.193858 54.127559
L 174.93874 54.127559
Q 178.212756 54.127559 178.212756 50.853543
L 178.212756 33.392126
Q 178.212756 30.11811 174.93874 30.11811
L 130.193858 30.11811
Q 126.919843 30.11811 126.919843 33.392126
L 126.919843 50.853543
Q 126.919843 54.127559 130.193858 54.127559
<path d="M 166.932283 68.144882
L 225.04252 68.144882
Q 229.294488 68.144882 229.294488 63.892913
L 229.294488 41.215748
Q 229.294488 36.96378 225.04252 36.96378
L 166.932283 36.96378
Q 162.680315 36.96378 162.680315 41.215748
L 162.680315 63.892913
Q 162.680315 68.144882 166.932283 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="patch_5">
<path d="M 188.689606 54.127559
L 233.434488 54.127559
Q 236.708504 54.127559 236.708504 50.853543
L 236.708504 33.392126
Q 236.708504 30.11811 233.434488 30.11811
L 188.689606 30.11811
Q 185.415591 30.11811 185.415591 33.392126
L 185.415591 50.853543
Q 185.415591 54.127559 188.689606 54.127559
<path d="M 242.900787 68.144882
L 301.011024 68.144882
Q 305.262992 68.144882 305.262992 63.892913
L 305.262992 41.215748
Q 305.262992 36.96378 301.011024 36.96378
L 242.900787 36.96378
Q 238.648819 36.96378 238.648819 41.215748
L 238.648819 63.892913
Q 238.648819 68.144882 242.900787 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #fdf0e3; stroke: #e07a1f; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #fdf0e3; stroke: #e07a1f; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="patch_6">
<path d="M 247.185354 54.127559
L 291.930236 54.127559
Q 295.204252 54.127559 295.204252 50.853543
L 295.204252 33.392126
Q 295.204252 30.11811 291.930236 30.11811
L 247.185354 30.11811
Q 243.911339 30.11811 243.911339 33.392126
L 243.911339 50.853543
Q 243.911339 54.127559 247.185354 54.127559
<path d="M 318.869291 68.144882
L 376.979528 68.144882
Q 381.231496 68.144882 381.231496 63.892913
L 381.231496 41.215748
Q 381.231496 36.96378 376.979528 36.96378
L 318.869291 36.96378
Q 314.617323 36.96378 314.617323 41.215748
L 314.617323 63.892913
Q 314.617323 68.144882 318.869291 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #e6f4ea; stroke: #2e8b57; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #e6f4ea; stroke: #2e8b57; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="patch_7">
<path d="M 305.681102 54.127559
L 350.425984 54.127559
Q 353.7 54.127559 353.7 50.853543
L 353.7 33.392126
Q 353.7 30.11811 350.425984 30.11811
L 305.681102 30.11811
Q 302.407087 30.11811 302.407087 33.392126
L 302.407087 50.853543
Q 302.407087 54.127559 305.681102 54.127559
<path d="M 394.837795 68.144882
L 452.948031 68.144882
Q 457.2 68.144882 457.2 63.892913
L 457.2 41.215748
Q 457.2 36.96378 452.948031 36.96378
L 394.837795 36.96378
Q 390.585827 36.96378 390.585827 41.215748
L 390.585827 63.892913
Q 390.585827 68.144882 394.837795 68.144882
z
" clip-path="url(#pc795fa4bf3)" style="fill: #e6f4ea; stroke: #2e8b57; stroke-width: 1.4; stroke-linejoin: miter"/>
" clip-path="url(#p5da530e1b4)" style="fill: #e6f4ea; stroke: #2e8b57; stroke-width: 1.4; stroke-linejoin: miter"/>
</g>
<g id="text_1">
<!-- Besoin -->
<g style="fill: #1f2937" transform="translate(21.976366 44.807085) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(30.451956 55.238581) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-25" d="M 2456 2859
Q 2741 2859 2887 2984
@@ -265,7 +265,7 @@ z
</g>
<g id="text_2">
<!-- quel -->
<g style="fill: #6b7280" transform="translate(28.008788 64.512503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(36.484378 79.833763) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-54" d="M 947 1747
Q 947 1113 1208 752
@@ -354,7 +354,7 @@ z
<use xlink:href="#DejaVuSans-4f" transform="translate(188.390625 0)"/>
</g>
<!-- problème ? -->
<g style="fill: #6b7280" transform="translate(15.968788 73.194417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(24.444378 88.515677) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-53" d="M 1159 525
L 1159 -1331
@@ -556,7 +556,7 @@ z
</g>
<g id="text_3">
<!-- Cahier des -->
<g style="fill: #1f2937" transform="translate(72.570676 40.127085) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(98.519023 50.558581) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-26" d="M 4288 256
Q 3956 84 3597 -3
@@ -691,7 +691,7 @@ z
<use xlink:href="#DejaVuSans-Bold-56" transform="translate(537.703125 0)"/>
</g>
<!-- charges -->
<g style="fill: #1f2937" transform="translate(78.007801 48.76146) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(103.956148 59.192956) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-46" d="M 3366 3391
L 3366 2478
@@ -760,7 +760,7 @@ z
</g>
<g id="text_4">
<!-- matériel, -->
<g style="fill: #6b7280" transform="translate(78.341332 64.792503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(104.289679 80.113763) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-44" d="M 2194 1759
Q 1497 1759 1228 1600
@@ -881,7 +881,7 @@ z
<use xlink:href="#DejaVuSans-f" transform="translate(417.625 0)"/>
</g>
<!-- modules -->
<g style="fill: #6b7280" transform="translate(79.130473 73.194417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(105.07882 88.515677) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-47" d="M 2906 2969
L 2906 4863
@@ -952,7 +952,7 @@ z
</g>
<g id="text_5">
<!-- MVP -->
<g style="fill: #1f2937" transform="translate(143.558987 44.74746) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(186.980089 55.178956) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-30" d="M 588 4666
L 2119 4666
@@ -1009,7 +1009,7 @@ z
</g>
<g id="text_6">
<!-- l'indispensable -->
<g style="fill: #6b7280" transform="translate(126.514268 64.512503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(169.93537 79.833763) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-a" d="M 1147 4666
L 1147 2931
@@ -1055,7 +1055,7 @@ z
<use xlink:href="#DejaVuSans-48" transform="translate(682.8125 0)"/>
</g>
<!-- d'abord -->
<g style="fill: #6b7280" transform="translate(139.274502 72.914417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(182.695605 88.235677) scale(0.07 -0.07)">
<use xlink:href="#DejaVuSans-47"/>
<use xlink:href="#DejaVuSans-a" transform="translate(63.484375 0)"/>
<use xlink:href="#DejaVuSans-44" transform="translate(90.96875 0)"/>
@@ -1067,7 +1067,7 @@ z
</g>
<g id="text_7">
<!-- Tests -->
<g style="fill: #1f2937" transform="translate(200.636672 44.696272) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(261.530531 55.127768) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-37" d="M 31 4666
L 4331 4666
@@ -1111,7 +1111,7 @@ z
</g>
<g id="text_8">
<!-- sur une durée -->
<g style="fill: #6b7280" transform="translate(186.658297 64.792503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(247.552156 80.113763) scale(0.07 -0.07)">
<use xlink:href="#DejaVuSans-56"/>
<use xlink:href="#DejaVuSans-58" transform="translate(52.09375 0)"/>
<use xlink:href="#DejaVuSans-55" transform="translate(115.46875 0)"/>
@@ -1127,7 +1127,7 @@ z
<use xlink:href="#DejaVuSans-48" transform="translate(635.71875 0)"/>
</g>
<!-- réaliste -->
<g style="fill: #6b7280" transform="translate(198.108219 73.474417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(259.002077 88.795677) scale(0.07 -0.07)">
<use xlink:href="#DejaVuSans-55"/>
<use xlink:href="#DejaVuSans-ab" transform="translate(38.90625 0)"/>
<use xlink:href="#DejaVuSans-44" transform="translate(100.4375 0)"/>
@@ -1140,7 +1140,7 @@ z
</g>
<g id="text_9">
<!-- Bonus -->
<g style="fill: #1f2937" transform="translate(257.072545 44.696272) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(335.439159 55.127768) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-58" d="M 500 1363
L 500 3500
@@ -1175,7 +1175,7 @@ z
</g>
<g id="text_10">
<!-- si le temps -->
<g style="fill: #6b7280" transform="translate(250.431389 64.512503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(328.798003 79.833763) scale(0.07 -0.07)">
<use xlink:href="#DejaVuSans-56"/>
<use xlink:href="#DejaVuSans-4c" transform="translate(52.09375 0)"/>
<use xlink:href="#DejaVuSans-3" transform="translate(79.875 0)"/>
@@ -1189,7 +1189,7 @@ z
<use xlink:href="#DejaVuSans-56" transform="translate(494.375 0)"/>
</g>
<!-- le permet -->
<g style="fill: #6b7280" transform="translate(252.631467 72.914417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(330.998081 88.235677) scale(0.07 -0.07)">
<use xlink:href="#DejaVuSans-4f"/>
<use xlink:href="#DejaVuSans-48" transform="translate(27.78125 0)"/>
<use xlink:href="#DejaVuSans-3" transform="translate(89.3125 0)"/>
@@ -1203,7 +1203,7 @@ z
</g>
<g id="text_11">
<!-- Présentation -->
<g style="fill: #1f2937" transform="translate(301.909668 44.951085) scale(0.072 -0.072)">
<g style="fill: #1f2937" transform="translate(397.749038 55.382581) scale(0.072 -0.072)">
<defs>
<path id="DejaVuSans-Bold-ab" d="M 4031 1759
L 4031 1441
@@ -1253,7 +1253,7 @@ z
</g>
<g id="text_12">
<!-- démo, choix, -->
<g style="fill: #6b7280" transform="translate(305.462137 64.792503) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(401.301507 80.113763) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-46" d="M 3122 3366
L 3122 2828
@@ -1325,7 +1325,7 @@ z
<use xlink:href="#DejaVuSans-f" transform="translate(613.6875 0)"/>
</g>
<!-- difficultés -->
<g style="fill: #6b7280" transform="translate(311.011278 73.474417) scale(0.07 -0.07)">
<g style="fill: #6b7280" transform="translate(406.850648 88.795677) scale(0.07 -0.07)">
<defs>
<path id="DejaVuSans-13b1" d="M 2375 4863
L 2375 4384
@@ -1384,68 +1384,68 @@ z
</g>
</g>
<g id="patch_8">
<path d="M 61.22126 42.122835
Q 64.822677 42.122835 66.97065 42.122835
<path d="M 77.35748 52.554331
Q 82.034646 52.554331 85.258367 52.554331
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 62.57065 39.922835
L 66.97065 42.122835
L 62.57065 44.322835
<path d="M 80.858367 50.354331
L 85.258367 52.554331
L 80.858367 54.754331
z
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="patch_9">
<path d="M 119.717008 42.122835
Q 123.318425 42.122835 125.466398 42.122835
<path d="M 153.325984 52.554331
Q 158.00315 52.554331 161.226871 52.554331
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 121.066398 39.922835
L 125.466398 42.122835
L 121.066398 44.322835
<path d="M 156.826871 50.354331
L 161.226871 52.554331
L 156.826871 54.754331
z
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="patch_10">
<path d="M 178.212756 42.122835
Q 181.814173 42.122835 183.962146 42.122835
<path d="M 229.294488 52.554331
Q 233.971654 52.554331 237.195375 52.554331
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 179.562146 39.922835
L 183.962146 42.122835
L 179.562146 44.322835
<path d="M 232.795375 50.354331
L 237.195375 52.554331
L 232.795375 54.754331
z
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="patch_11">
<path d="M 236.708504 42.122835
Q 240.309921 42.122835 242.457894 42.122835
<path d="M 305.262992 52.554331
Q 309.940157 52.554331 313.163879 52.554331
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 238.057894 39.922835
L 242.457894 42.122835
L 238.057894 44.322835
<path d="M 308.763879 50.354331
L 313.163879 52.554331
L 308.763879 54.754331
z
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="patch_12">
<path d="M 295.204252 42.122835
Q 298.805669 42.122835 300.953642 42.122835
<path d="M 381.231496 52.554331
Q 385.908661 52.554331 389.132383 52.554331
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 296.553642 39.922835
L 300.953642 42.122835
L 296.553642 44.322835
<path d="M 384.732383 50.354331
L 389.132383 52.554331
L 384.732383 54.754331
z
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="patch_13">
<path d="M 211.062047 30.11811
Q 181.814173 -4.979339 153.496772 29.001543
<path d="M 271.955906 36.96378
Q 233.971654 -8.617323 196.917874 35.847213
" style="fill: none; stroke: #e07a1f; stroke-width: 1.3; stroke-linecap: round"/>
<path d="M 158.00367 27.029776
L 153.496772 29.001543
L 154.623496 24.212964
<path d="M 201.424772 33.875445
L 196.917874 35.847213
L 198.044598 31.058633
z
" style="fill: #e07a1f; stroke: #e07a1f; stroke-width: 1.3; stroke-linecap: round"/>
</g>
<g id="text_13">
<!-- corriger -->
<g style="fill: #e07a1f" transform="translate(167.559212 24.43558) scale(0.073 -0.073)">
<g style="fill: #e07a1f" transform="translate(219.716693 30.107706) scale(0.073 -0.073)">
<defs>
<path id="DejaVuSans-4a" d="M 2906 1791
Q 2906 2416 2648 2759
@@ -1495,8 +1495,8 @@ z
</g>
</g>
<defs>
<clipPath id="pc795fa4bf3">
<rect x="7.2" y="7.2" width="349.228346" height="91.672441"/>
<clipPath id="p5da530e1b4">
<rect x="7.2" y="7.2" width="453.543307" height="119.055118"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB