Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Aug 9, 2017
1 parent f0f7dac commit bbc7d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ndlib/viz/mpl/ComparisonViz.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def plot(self, filename, percentile=90):

mx = 0
i, h = 0, 0
for k, l in pres.iteritems():
for k, l in future.utils.iteritems(pres):
j = 0
for st in l:
mx = len(l[st][0])
Expand Down
2 changes: 1 addition & 1 deletion ndlib/viz/mpl/DiffusionViz.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def plot(self, filename=None, percentile=90):

mx = 0
i = 0
for k, l in pres.iteritems():
for k, l in future.utils.iteritems(pres):
mx = len(l[0])
if self.normalized:
plt.plot(range(0, mx), l[1]/self.nnodes, lw=2, label=self.srev[k], alpha=0.5, color=cols[i])
Expand Down

0 comments on commit bbc7d21

Please sign in to comment.