Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjinliu committed Jul 8, 2024
1 parent aec5342 commit 7626aa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import tempfile
import numpy as np
from numpy.testing import assert_allclose
import matplotlib.pyplot as plt

import pytest
import whitecanvas as wc
Expand Down Expand Up @@ -275,6 +276,7 @@ def test_multidim():

def test_multidim_slider():
# TODO: how to test other app backends?
plt.close("all")
canvas = new_canvas(backend="matplotlib:qt")
x = np.arange(5)
ys = [x, x ** 2, x ** 3]
Expand Down
1 change: 1 addition & 0 deletions tests/test_categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@ def test_pandas_and_polars():
cat_pd.first().add_markers(color="c")

cat_pl.add_swarmplot(color="c")
cat_pl.sort().add_stripplot(color="c")
cat_pl.mean().add_markers(color="c")
cat_pl.first().add_markers(color="c")

0 comments on commit 7626aa5

Please sign in to comment.