MCPcopy Create free account
hub / github.com/holoviz/hvplot / test_valid_x_limits

Method test_valid_x_limits

hvplot/tests/testutil.py:545–548  ·  view source on GitHub ↗

Convert valid x-axis (longitude) limits.

(self)

Source from the content-addressed store, hash-verified

543 assert _convert_limit_to_mercator((), is_x_axis=True) is None
544
545 def test_valid_x_limits(self):
546 """Convert valid x-axis (longitude) limits."""
547 result = _convert_limit_to_mercator((-90, 90), is_x_axis=True)
548 assert result is not None and isinstance(result, tuple) and len(result) == 2
549
550 def test_valid_y_limits(self):
551 """Convert valid y-axis (latitude) limits."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected