Skip to content

Commit

Permalink
Move import into ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Nov 5, 2024
1 parent 8804bfb commit 43741fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions holoviews/tests/ui/bokeh/test_hover.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import datashader as ds
import numpy as np
import pandas as pd
import pytest

import holoviews as hv
from holoviews.operation.datashader import rasterize

from .. import expect, wait_until

Expand Down Expand Up @@ -230,6 +228,10 @@ def test_hover_tooltips_dimension_unit(serve_hv, hover_tooltip):

@pytest.mark.usefixtures("bokeh_backend")
def test_hover_tooltips_rasterize_server_hover(serve_hv):
import datashader as ds

from holoviews.operation.datashader import rasterize

df = pd.DataFrame({
"x": seed.normal(0, 1, 100),
"y": seed.normal(0, 1, 100),
Expand Down

0 comments on commit 43741fb

Please sign in to comment.