From 5f5d55d1070217bd85b35b0e8c800b6c4d679672 Mon Sep 17 00:00:00 2001 From: Antoine Date: Fri, 30 Jan 2026 00:06:10 +0000 Subject: [PATCH] fix(report): trajectory plots full-width instead of side-by-side MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove two-col grid wrapper from trajectory section - Each plot now gets full container width - Trajectory plot height 450→500, width 1100 for better readability --- tools/generate_optical_report.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/generate_optical_report.py b/tools/generate_optical_report.py index 6f3e65e2..4d57d6ce 100644 --- a/tools/generate_optical_report.py +++ b/tools/generate_optical_report.py @@ -680,7 +680,8 @@ def make_trajectory_plot(angles, coefficients_relative, mode_groups, sensitivity yaxis_cfg['title'] = dict(text="RMS (nm) — log scale", font=dict(color='#1e293b')) fig.update_layout( - height=450, + height=500, + width=1100, margin=dict(t=30, b=50, l=70, r=20), **_PLOTLY_LIGHT_LAYOUT, xaxis=dict(title=dict(text="Elevation Angle (°)", font=dict(color='#1e293b')), @@ -1493,10 +1494,9 @@ def generate_report( '

Mode-specific integrated RMS across the operating elevation range. ' + 'The linear model cj(\u03b8) = aj\u00b7\u0394sin\u03b8 + bj\u00b7\u0394cos\u03b8 decomposes gravity into axial and lateral components.

' + traj_metrics_html + - '
' + - '

Mode RMS vs Elevation Angle

' + traj_plot_html + '
' + - '

Axial vs Lateral Sensitivity

' + sens_plot_html + '
' + - '
' if traj_result else ''} + '

Mode RMS vs Elevation Angle

' + traj_plot_html + '
' + + '

Axial vs Lateral Sensitivity

' + sens_plot_html + '
' + + '' if traj_result else ''} {'

' + str(sec_psd) + '. Power Spectral Density Analysis

' +