Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions puq/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from __future__ import absolute_import, division, print_function

from puq.jpickle import unpickle, pickle
import sys, string, matplotlib
import sys, matplotlib
if sys.platform == 'darwin':
matplotlib.use('macosx', warn=False)
else:
Expand Down Expand Up @@ -57,7 +57,7 @@ def plot(sweep, h5, opt, params=[]):
if not opt.l:
opt.k = True

method = string.lower(sweep.psweep.__class__.__name__)
method = sweep.psweep.__class__.__name__.lower()
if opt.r:
for vname in h5[method]:
if not opt.v or vname in opt.v:
Expand Down