Skip to content

Commit

Permalink
Merge branch 'master' into Heisenberg
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Dec 8, 2024
2 parents adb63b6 + 9e00ebd commit fa8c6f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qibo/ui/mpldrawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from typing import Union

import matplotlib
import matplotlib.pyplot as plt
import numpy as np

from qibo import gates
Expand Down Expand Up @@ -377,7 +378,7 @@ def _swapx(ax, x, y, plot_params):

def _setup_figure(nq, ng, gate_grid, wire_grid, plot_params):
scale = plot_params["scale"]
fig = matplotlib.pyplot.figure(
fig = plt.figure(
figsize=(ng * scale, nq * scale),
facecolor=plot_params["facecolor"],
edgecolor=plot_params["edgecolor"],
Expand Down

0 comments on commit fa8c6f9

Please sign in to comment.