Skip to content

Commit c9623a5

Browse files
authored
Proper holoviews cleanup in plotting test (#1049)
* addressing first few comments * adjust docstring examples * remove unused init strategy random * update changelog * speedup * address review comments * array api implementation of ncp * enhanced docstring * address review comments * test ncp plots * update plot testing with fixed figure dimensions * plot test minor environment enhancement
1 parent 10fa65e commit c9623a5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/plot/test_ncp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def test_pl_ncp_n_top(edata_with_ncp: ed.EHRData) -> None:
6868

6969

7070
def test_pl_ncp_image(edata_with_ncp: ed.EHRData, check_same_image, hv_backend) -> None:
71-
hv_backend("matplotlib")
7271
plot = ep.pl.ncp(edata_with_ncp, n_top=5)
7372
fig = hv.render(plot, backend="matplotlib")
7473
fig.set_size_inches(12, 10.5)
@@ -140,7 +139,6 @@ def test_pl_ncp_cluster_trajectories_missing_ncp_raises(edata_with_ncp: ed.EHRDa
140139

141140

142141
def test_pl_ncp_cluster_trajectories_image(edata_with_ncp: ed.EHRData, check_same_image, hv_backend) -> None:
143-
hv_backend("matplotlib")
144142
plot = ep.pl.ncp_cluster_trajectories(
145143
edata_with_ncp,
146144
layer=DEFAULT_TEM_LAYER_NAME,

0 commit comments

Comments
 (0)