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:
co-authored by
Claude Opus 5.5
parent
379cd03bc5
commit
170588dc2c
@@ -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="424.585125pt" height="166.096063pt" viewBox="0 0 424.585125 166.096063" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="467.943307pt" height="211.407874pt" viewBox="0 0 467.943307 211.407874" 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,71 +20,71 @@
|
||||
</defs>
|
||||
<g id="figure_1">
|
||||
<g id="patch_1">
|
||||
<path d="M 0 166.096063
|
||||
L 424.585125 166.096063
|
||||
L 424.585125 0
|
||||
<path d="M 0 211.407874
|
||||
L 467.943307 211.407874
|
||||
L 467.943307 0
|
||||
L 0 0
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<g id="axes_1">
|
||||
<g id="line2d_1">
|
||||
<path d="M 95.883114 146.891339
|
||||
L 95.883114 29.026772
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
<path d="M 82.790551 188.617323
|
||||
L 82.790551 35.546457
|
||||
" clip-path="url(#p4b242c4934)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
</g>
|
||||
<g id="line2d_2">
|
||||
<path d="M 212.292563 146.891339
|
||||
L 212.292563 29.026772
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
<path d="M 233.971654 188.617323
|
||||
L 233.971654 35.546457
|
||||
" clip-path="url(#p4b242c4934)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
</g>
|
||||
<g id="line2d_3">
|
||||
<path d="M 328.702011 146.891339
|
||||
L 328.702011 29.026772
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
<path d="M 385.152756 188.617323
|
||||
L 385.152756 35.546457
|
||||
" clip-path="url(#p4b242c4934)" style="fill: none; stroke-dasharray: 3,3; stroke-dashoffset: 0; stroke: #6b7280"/>
|
||||
</g>
|
||||
<g id="patch_2">
|
||||
<path d="M 47.864216 29.026772
|
||||
L 143.902011 29.026772
|
||||
Q 147.176027 29.026772 147.176027 25.752756
|
||||
L 147.176027 14.83937
|
||||
Q 147.176027 11.565354 143.902011 11.565354
|
||||
L 47.864216 11.565354
|
||||
Q 44.5902 11.565354 44.5902 14.83937
|
||||
L 44.5902 25.752756
|
||||
Q 44.5902 29.026772 47.864216 29.026772
|
||||
<path d="M 20.428346 35.546457
|
||||
L 145.152756 35.546457
|
||||
Q 149.404724 35.546457 149.404724 31.294488
|
||||
L 149.404724 17.12126
|
||||
Q 149.404724 12.869291 145.152756 12.869291
|
||||
L 20.428346 12.869291
|
||||
Q 16.176378 12.869291 16.176378 17.12126
|
||||
L 16.176378 31.294488
|
||||
Q 16.176378 35.546457 20.428346 35.546457
|
||||
z
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: #f3f4f6; stroke: #6b7280; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
" clip-path="url(#p4b242c4934)" style="fill: #f3f4f6; stroke: #6b7280; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="patch_3">
|
||||
<path d="M 162.090988 29.026772
|
||||
L 262.494137 29.026772
|
||||
Q 265.768153 29.026772 265.768153 25.752756
|
||||
L 265.768153 14.83937
|
||||
Q 265.768153 11.565354 262.494137 11.565354
|
||||
L 162.090988 11.565354
|
||||
Q 158.816972 11.565354 158.816972 14.83937
|
||||
L 158.816972 25.752756
|
||||
Q 158.816972 29.026772 162.090988 29.026772
|
||||
<path d="M 168.774803 35.546457
|
||||
L 299.168504 35.546457
|
||||
Q 303.420472 35.546457 303.420472 31.294488
|
||||
L 303.420472 17.12126
|
||||
Q 303.420472 12.869291 299.168504 12.869291
|
||||
L 168.774803 12.869291
|
||||
Q 164.522835 12.869291 164.522835 17.12126
|
||||
L 164.522835 31.294488
|
||||
Q 164.522835 35.546457 168.774803 35.546457
|
||||
z
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
" clip-path="url(#p4b242c4934)" style="fill: #e8f0fe; stroke: #1f5fa8; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="patch_4">
|
||||
<path d="M 295.961854 29.026772
|
||||
L 361.442169 29.026772
|
||||
Q 364.716185 29.026772 364.716185 25.752756
|
||||
L 364.716185 14.83937
|
||||
Q 364.716185 11.565354 361.442169 11.565354
|
||||
L 295.961854 11.565354
|
||||
Q 292.687838 11.565354 292.687838 14.83937
|
||||
L 292.687838 25.752756
|
||||
Q 292.687838 29.026772 295.961854 29.026772
|
||||
<path d="M 342.633071 35.546457
|
||||
L 427.672441 35.546457
|
||||
Q 431.924409 35.546457 431.924409 31.294488
|
||||
L 431.924409 17.12126
|
||||
Q 431.924409 12.869291 427.672441 12.869291
|
||||
L 342.633071 12.869291
|
||||
Q 338.381102 12.869291 338.381102 17.12126
|
||||
L 338.381102 31.294488
|
||||
Q 338.381102 35.546457 342.633071 35.546457
|
||||
z
|
||||
" clip-path="url(#p1e6812eaf2)" style="fill: #fce8e6; stroke: #c0392b; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
" clip-path="url(#p4b242c4934)" style="fill: #fce8e6; stroke: #c0392b; stroke-width: 1.4; stroke-linejoin: miter"/>
|
||||
</g>
|
||||
<g id="text_1">
|
||||
<!-- Navigateur (mobile) -->
|
||||
<g style="fill: #1f2937" transform="translate(47.733934 22.608329) scale(0.085 -0.085)">
|
||||
<g style="fill: #1f2937" transform="translate(34.641371 26.52014) scale(0.085 -0.085)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Bold-31" d="M 588 4666
|
||||
L 1931 4666
|
||||
@@ -412,7 +412,7 @@ z
|
||||
</g>
|
||||
<g id="text_2">
|
||||
<!-- ESP32-S3 — WebServer -->
|
||||
<g style="fill: #1f2937" transform="translate(156.05975 23.464969) scale(0.085 -0.085)">
|
||||
<g style="fill: #1f2937" transform="translate(177.738841 27.37678) scale(0.085 -0.085)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Bold-28" d="M 588 4666
|
||||
L 3834 4666
|
||||
@@ -590,7 +590,7 @@ z
|
||||
</g>
|
||||
<g id="text_3">
|
||||
<!-- LED NeoPixel -->
|
||||
<g style="fill: #1f2937" transform="translate(297.070722 23.464969) scale(0.085 -0.085)">
|
||||
<g style="fill: #1f2937" transform="translate(353.521467 27.37678) scale(0.085 -0.085)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Bold-2f" d="M 588 4666
|
||||
L 1791 4666
|
||||
@@ -655,26 +655,26 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_5">
|
||||
<path d="M 95.883114 46.488189
|
||||
Q 154.087838 46.488189 210.839118 46.488189
|
||||
<path d="M 82.790551 58.223622
|
||||
Q 158.381102 58.223622 232.518209 58.223622
|
||||
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
<path d="M 206.439118 44.288189
|
||||
L 210.839118 46.488189
|
||||
L 206.439118 48.688189
|
||||
<path d="M 228.118209 56.023622
|
||||
L 232.518209 58.223622
|
||||
L 228.118209 60.423622
|
||||
z
|
||||
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_4">
|
||||
<g id="patch_6">
|
||||
<path d="M 79.752619 45.522047
|
||||
L 228.423057 45.522047
|
||||
L 228.423057 36.161438
|
||||
L 79.752619 36.161438
|
||||
<path d="M 84.045884 56.735906
|
||||
L 232.716321 56.735906
|
||||
L 232.716321 47.375296
|
||||
L 84.045884 47.375296
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<!-- GET / (saisie de http://192.168.1.42) -->
|
||||
<g style="fill: #1f2937" transform="translate(80.532619 42.868219) scale(0.078 -0.078)">
|
||||
<g style="fill: #1f2937" transform="translate(84.825884 54.082077) scale(0.078 -0.078)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-2a" d="M 3809 666
|
||||
L 3809 1919
|
||||
@@ -1174,26 +1174,26 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_7">
|
||||
<path d="M 212.292563 67.223622
|
||||
Q 154.087838 67.223622 97.336558 67.223622
|
||||
<path d="M 233.971654 85.152756
|
||||
Q 158.381102 85.152756 84.243995 85.152756
|
||||
" style="fill: none; stroke-dasharray: 4.81,2.08; stroke-dashoffset: 0; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
<path d="M 101.736558 69.423622
|
||||
L 97.336558 67.223622
|
||||
L 101.736558 65.023622
|
||||
<path d="M 88.643995 87.352756
|
||||
L 84.243995 85.152756
|
||||
L 88.643995 82.952756
|
||||
z
|
||||
" style="fill: #1f2937; stroke-dasharray: 4.81,2.08; stroke-dashoffset: 0; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_5">
|
||||
<g id="patch_8">
|
||||
<path d="M 87.659869 66.25748
|
||||
L 220.515807 66.25748
|
||||
L 220.515807 56.896871
|
||||
L 87.659869 56.896871
|
||||
<path d="M 91.953134 83.665039
|
||||
L 224.809071 83.665039
|
||||
L 224.809071 74.30443
|
||||
L 91.953134 74.30443
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<!-- 200 OK + page HTML (4 boutons) -->
|
||||
<g style="fill: #1f2937" transform="translate(88.439869 63.603652) scale(0.078 -0.078)">
|
||||
<g style="fill: #1f2937" transform="translate(92.733134 81.011211) scale(0.078 -0.078)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-13" d="M 2034 4250
|
||||
Q 1547 4250 1301 3770
|
||||
@@ -1462,26 +1462,26 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_9">
|
||||
<path d="M 95.883114 87.959055
|
||||
Q 154.087838 87.959055 210.839118 87.959055
|
||||
<path d="M 82.790551 112.08189
|
||||
Q 158.381102 112.08189 232.518209 112.08189
|
||||
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
<path d="M 206.439118 85.759055
|
||||
L 210.839118 87.959055
|
||||
L 206.439118 90.159055
|
||||
<path d="M 228.118209 109.88189
|
||||
L 232.518209 112.08189
|
||||
L 228.118209 114.28189
|
||||
z
|
||||
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_6">
|
||||
<g id="patch_10">
|
||||
<path d="M 96.194166 86.992913
|
||||
L 211.98151 86.992913
|
||||
L 211.98151 77.632304
|
||||
L 96.194166 77.632304
|
||||
<path d="M 100.48743 110.594173
|
||||
L 216.274774 110.594173
|
||||
L 216.274774 101.233564
|
||||
L 100.48743 101.233564
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<!-- clic « Rouge » → GET /rouge -->
|
||||
<g style="fill: #1f2937" transform="translate(96.974166 84.339085) scale(0.078 -0.078)">
|
||||
<g style="fill: #1f2937" transform="translate(101.26743 107.940345) scale(0.078 -0.078)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-46" d="M 3122 3366
|
||||
L 3122 2828
|
||||
@@ -1640,26 +1640,26 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_11">
|
||||
<path d="M 212.292563 108.694488
|
||||
Q 270.497287 108.694488 327.248567 108.694488
|
||||
<path d="M 233.971654 139.011024
|
||||
Q 309.562205 139.011024 383.699312 139.011024
|
||||
" style="fill: none; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
<path d="M 322.848567 106.494488
|
||||
L 327.248567 108.694488
|
||||
L 322.848567 110.894488
|
||||
<path d="M 379.299312 136.811024
|
||||
L 383.699312 139.011024
|
||||
L 379.299312 141.211024
|
||||
z
|
||||
" style="fill: #1f2937; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_7">
|
||||
<g id="patch_12">
|
||||
<path d="M 218.213521 107.728346
|
||||
L 322.781053 107.728346
|
||||
L 322.781053 98.367737
|
||||
L 218.213521 98.367737
|
||||
<path d="M 257.278439 137.523307
|
||||
L 361.84597 137.523307
|
||||
L 361.84597 128.162698
|
||||
L 257.278439 128.162698
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<!-- changerCouleur(255, 0, 0) -->
|
||||
<g style="fill: #1f2937" transform="translate(218.993521 105.074518) scale(0.078 -0.078)">
|
||||
<g style="fill: #1f2937" transform="translate(258.058439 134.869479) scale(0.078 -0.078)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-26" d="M 4122 4306
|
||||
L 4122 3641
|
||||
@@ -1745,26 +1745,26 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<g id="patch_13">
|
||||
<path d="M 212.292563 129.429921
|
||||
Q 154.087838 129.429921 97.336558 129.429921
|
||||
<path d="M 233.971654 165.940157
|
||||
Q 158.381102 165.940157 84.243995 165.940157
|
||||
" style="fill: none; stroke-dasharray: 4.81,2.08; stroke-dashoffset: 0; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
<path d="M 101.736558 131.629921
|
||||
L 97.336558 129.429921
|
||||
L 101.736558 127.229921
|
||||
<path d="M 88.643995 168.140157
|
||||
L 84.243995 165.940157
|
||||
L 88.643995 163.740157
|
||||
z
|
||||
" style="fill: #1f2937; stroke-dasharray: 4.81,2.08; stroke-dashoffset: 0; stroke: #1f2937; stroke-width: 1.3; stroke-linecap: round"/>
|
||||
</g>
|
||||
<g id="text_8">
|
||||
<g id="patch_14">
|
||||
<path d="M 87.399666 128.46378
|
||||
L 220.77601 128.46378
|
||||
L 220.77601 118.79117
|
||||
L 87.399666 118.79117
|
||||
<path d="M 91.69293 164.452441
|
||||
L 225.069274 164.452441
|
||||
L 225.069274 154.779832
|
||||
L 91.69293 154.779832
|
||||
z
|
||||
" style="fill: #ffffff"/>
|
||||
</g>
|
||||
<!-- 200 OK + page HTML (rechargée) -->
|
||||
<g style="fill: #1f2937" transform="translate(88.179666 125.809951) scale(0.078 -0.078)">
|
||||
<g style="fill: #1f2937" transform="translate(92.47293 161.798613) scale(0.078 -0.078)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-ab" d="M 3597 1894
|
||||
L 3597 1613
|
||||
@@ -1832,7 +1832,7 @@ z
|
||||
</g>
|
||||
<g id="text_9">
|
||||
<!-- serveur.on("/rouge", …) associe chaque URL (route) à une fonction ; handleClient() traite les requêtes dans loop() -->
|
||||
<g style="fill: #6b7280" transform="translate(7.2 155.622047) scale(0.072 -0.072)">
|
||||
<g style="fill: #6b7280" transform="translate(28.879091 199.955906) scale(0.072 -0.072)">
|
||||
<defs>
|
||||
<path id="DejaVuSans-Oblique-56" d="M 3200 3397
|
||||
L 3091 2853
|
||||
@@ -2664,8 +2664,8 @@ z
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="p1e6812eaf2">
|
||||
<rect x="37.678389" y="7.2" width="349.228346" height="151.696063"/>
|
||||
<clipPath id="p4b242c4934">
|
||||
<rect x="7.2" y="7.2" width="453.543307" height="197.007874"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
Reference in New Issue
Block a user