Skip to content

Commit

Permalink
added a test for threedplot
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy committed Feb 16, 2022
1 parent a34af0a commit df53cfc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmeutils/tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import pytest

from cmeutils.plotting import get_histogram
from cmeutils.plotting import threedplot

from base_test import BaseTest


Expand All @@ -16,3 +18,9 @@ def test_histogram_normalize(self):
bin_c, bin_h = get_histogram(sample, normalize=True)
assert all(bin_h <= 1)

def test_3dplot(self):
x = [1,2,3,4,5]
y = [1,2,3,4,5]
z = [1,2,3,4,5]
threedplot(x,y,z)

0 comments on commit df53cfc

Please sign in to comment.