{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## LayerTargetLocatorTwoOverlappedRectsTest — nearestX case\n", "\n", "Two rects share the same X range. FIRST_RECT is short (height=40), SECOND_RECT is tall (height=300).\n", "\n", "When cursor is at y=50 (above FIRST_RECT but inside SECOND_RECT), X-range lookup matches **both** rects.\n", "Expected: tooltips for both. Bug: only SECOND_RECT tooltip appears." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", " \n", " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from lets_plot import *\n", "LetsPlot.setup_html()" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "