Skip to content

Commit

Permalink
formatting (black)
Browse files Browse the repository at this point in the history
  • Loading branch information
xgarnaud committed Mar 14, 2024
1 parent 88e1346 commit e3c257a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytucanos/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __plot_boundary(ax, bdy, normals):

tags = np.unique(etags)
labels = {}
for (e, t) in zip(edgs, etags):
for e, t in zip(edgs, etags):
(i,) = np.nonzero(tags == t)
X, Y = xy[e, 0], xy[e, 1]
if not t in labels:
Expand Down Expand Up @@ -107,7 +107,7 @@ def plot_metric(ax, msh, m, loc="vertex"):
if loc != "vertex":
xy = xy[tris, :].mean(axis=1)

for (i, (x, y)) in enumerate(xy):
for i, (x, y) in enumerate(xy):
eigvals, eigvecs = np.linalg.eigh(m[i, :, :])
sizes = 0.25 * 1.0 / eigvals**0.5
for i in range(2):
Expand Down

0 comments on commit e3c257a

Please sign in to comment.