This commit is contained in:
Ayzen
2025-10-17 16:41:04 +03:00
parent db5aa8d73d
commit 7dc03a0c5a

View File

@ -197,7 +197,7 @@ class MagnitudeProcessor(BaseProcessor):
if show_magnitude:
# Phase on second axis (radians converted to degrees, but displayed as -π to π)
layout["yaxis2"] = {
"title": "Фаза (рад)",
"title": "Фаза (град)",
"overlaying": "y",
"side": "right",
"showgrid": False,
@ -208,7 +208,7 @@ class MagnitudeProcessor(BaseProcessor):
else:
# Phase on primary axis if magnitude is hidden
layout["yaxis"] = {
"title": "Фаза (рад)",
"title": "Фаза (град)",
"showgrid": True,
"side": "left",
"range": [-180, 180], # -π to π in degrees