test_series_scroll_plot.py 870 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. import pytest
  4. from draugr.drawers import discrete_scroll_plot
  5. __author__ = "Christian Heider Nielsen"
  6. __doc__ = r"""
  7. Created on 9/2/19
  8. """
  9. @pytest.mark.skip
  10. def test_series_scroll_plot():
  11. gen = iter(
  12. [
  13. [1, 0, 0],
  14. [1, 0, 0],
  15. [1, 0, 0],
  16. [1, 0, 0],
  17. [1, 0, 0],
  18. [0, 0, 1],
  19. [0, 0, 1],
  20. [0, 0, 1],
  21. [0, 0, 1],
  22. [0, 0, 1],
  23. [0, 0, 1],
  24. [0, 1, 0],
  25. [0, 1, 0],
  26. [0, 1, 0],
  27. [0, 1, 0],
  28. [0, 1, 0],
  29. [0, 1, 0],
  30. [0, 1, 0],
  31. [0, 1, 0],
  32. ]
  33. )
  34. discrete_scroll_plot(gen, labels=("a", "b", "c"))
  35. assert True
  36. if __name__ == "__main__":
  37. test_series_scroll_plot()