fix(viz_reports): plot_spectrum_by_parameter legend 移出画布防止遮挡
This commit is contained in:
@ -254,7 +254,7 @@ class WaterQualityVisualization:
|
||||
ax.set_ylabel('光谱反射率', fontsize=14, fontweight='bold')
|
||||
ax.set_title(f'{parameter_column} - 不同参数值的光谱曲线对比',
|
||||
fontsize=16, fontweight='bold')
|
||||
ax.legend(loc='best', fontsize=10)
|
||||
ax.legend(loc='upper left', fontsize=10, bbox_to_anchor=(1.02, 1), borderaxespad=0)
|
||||
ax.grid(True, alpha=0.3)
|
||||
|
||||
if wavelength_range:
|
||||
|
||||
Reference in New Issue
Block a user