Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryoris committed Jan 10, 2024
1 parent 38fd6fb commit 20f9605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/visualization/circuit/qcstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def __init__(self):
default_style_dict = "iqp.json"
path = Path(__file__).parent / "styles" / default_style_dict

with open(path, "r") as f:
default_style = json.load(f)
with open(path, "r") as infile:
default_style = json.load(infile)

# set shortcuts, such as "ec" for "edgecolor"
self.style = StyleDict(**default_style)
Expand Down

0 comments on commit 20f9605

Please sign in to comment.