Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_uband(self):
from omas.omas_plot import uband
ax = plt.gca()
ub1 = uband(self.x, self.u, ax)
ub2 = uband(self.x, -self.u, fill_kw=dict(alpha=0.15, color='k'), color='r')
assert ub1 != ub2
ub3 = uband(self.ux, self.u)
ub4 = uband(self.ux, self.y)
assert ub3 != ub4
assert ub1 != ub3
def test_uband(self):
from omas.omas_plot import uband
ax = plt.gca()
ub1 = uband(self.x, self.u, ax)
ub2 = uband(self.x, -self.u, fill_kw=dict(alpha=0.15, color='k'), color='r')
assert ub1 != ub2
ub3 = uband(self.ux, self.u)
ub4 = uband(self.ux, self.y)
assert ub3 != ub4
assert ub1 != ub3
def test_uband(self):
from omas.omas_plot import uband
ax = plt.gca()
ub1 = uband(self.x, self.u, ax)
ub2 = uband(self.x, -self.u, fill_kw=dict(alpha=0.15, color='k'), color='r')
assert ub1 != ub2
ub3 = uband(self.ux, self.u)
ub4 = uband(self.ux, self.y)
assert ub3 != ub4
assert ub1 != ub3
def test_uband(self):
from omas.omas_plot import uband
ax = plt.gca()
ub1 = uband(self.x, self.u, ax)
ub2 = uband(self.x, -self.u, fill_kw=dict(alpha=0.15, color='k'), color='r')
assert ub1 != ub2
ub3 = uband(self.ux, self.u)
ub4 = uband(self.ux, self.y)
assert ub3 != ub4
assert ub1 != ub3