Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing on GitHub times out because of blocked plotting functions #309

Closed
WenjieDu opened this issue Mar 13, 2024 · 0 comments
Closed

Testing on GitHub times out because of blocked plotting functions #309

WenjieDu opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
question Further information is requested testing Things related to testing.

Comments

@WenjieDu
Copy link
Owner

Issue description

Testing action failed on GitHub Windows and MacOS platforms, e.g. https://github.com/WenjieDu/PyPOTS/actions/runs/8246332478

This is probably caused by plotting functions in https://github.com/WenjieDu/PyPOTS/blob/main/pypots/utils/visual/data.py invoked in tests/utils/visual

class TestVisual(unittest.TestCase):
locf = LOCF()
imputed_test_set = locf.predict(TEST_SET)
imputed_X = imputed_test_set["imputation"]
X_with_missingness = TEST_SET["X"]
X_ori = TEST_SET["X_ori"]
def test_plot_data(self):
plot_data(self.X_with_missingness, self.X_ori, self.imputed_X, sample_idx=10)
def test_plot_missingness(self):
plot_missingness(self.X_with_missingness, max_step=24, sample_idx=10)
plot_missingness(
~np.isnan(self.X_with_missingness[10]), max_step=24, sample_idx=10
)

@WenjieDu WenjieDu added the question Further information is requested label Mar 13, 2024
@WenjieDu WenjieDu self-assigned this Mar 13, 2024
@WenjieDu WenjieDu added the testing Things related to testing. label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested testing Things related to testing.
Projects
None yet
Development

No branches or pull requests

1 participant