|
|
|
|
@ -724,3 +724,10 @@ def test_axis_swap_not_applied_when_x_is_left_right(): |
|
|
|
|
"y_label": "Links\u2013Rechts", # both LR — no swap |
|
|
|
|
} |
|
|
|
|
assert _should_swap_axes(axis_def2) is False |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_axis_swap_not_applied_when_neither_axis_is_left_right(): |
|
|
|
|
from explorer import _should_swap_axes |
|
|
|
|
|
|
|
|
|
assert _should_swap_axes({"x_label": "Foo", "y_label": "Bar"}) is False |
|
|
|
|
assert _should_swap_axes({"x_label": None, "y_label": None}) is False |
|
|
|
|
|