From 7038b5adbd5a18027fe9f472f33602548bf83af5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:42:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_ui_mpldrawer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_ui_mpldrawer.py b/tests/test_ui_mpldrawer.py index 53b5b63df4..95e1ff5393 100644 --- a/tests/test_ui_mpldrawer.py +++ b/tests/test_ui_mpldrawer.py @@ -1,14 +1,16 @@ """Test that Qibo matplotlib drawer""" -import pytest import matplotlib.pyplot import numpy as np -from qibo import gates, callbacks, Circuit +import pytest + +from qibo import Circuit, callbacks, gates from qibo.models import QFT from qibo.ui import plot_circuit from qibo.ui.drawer_utils import FusedEndGateBarrier, FusedStartGateBarrier from qibo.ui.mpldrawer import _plot_params, _process_gates + # defining a dummy circuit def circuit(nqubits=2): c = Circuit(nqubits)