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