Commit e146d3b1 authored by Martin Reinecke's avatar Martin Reinecke

cosmetics

parent 1bd24498
Pipeline #25657 passed with stage
in 6 minutes and 10 seconds
......@@ -228,7 +228,8 @@ def plot(f, **kwargs):
xcoord = np.arange(npoints, dtype=np.float64)*dist
for i, fld in enumerate(f):
ycoord = fld.to_global_data()
plt.plot(xcoord, ycoord, label=label[i], linewidth=linewidth[i], alpha=alpha[i])
plt.plot(xcoord, ycoord, label=label[i],
linewidth=linewidth[i], alpha=alpha[i])
_limit_xy(**kwargs)
if label != ([None]*len(f)):
plt.legend()
......@@ -261,7 +262,8 @@ def plot(f, **kwargs):
xcoord = dom.k_lengths
for i, fld in enumerate(f):
ycoord = fld.to_global_data()
plt.plot(xcoord, ycoord, label=label[i], linewidth=linewidth[i], alpha=alpha[i])
plt.plot(xcoord, ycoord, label=label[i],
linewidth=linewidth[i], alpha=alpha[i])
_limit_xy(**kwargs)
if label != ([None]*len(f)):
plt.legend()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment