We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ed4d1 commit 295ea49Copy full SHA for 295ea49
src/axiomatic/pic_helpers.py
@@ -23,7 +23,7 @@ def plot_circuit(component):
23
24
25
def plot_losses(
26
- losses: List[float], iterations: Optional[List[int]] = None, return_fig: bool = True
+ losses: List[float], iterations: Optional[List[int]] = None, return_fig: bool = False
27
):
28
"""
29
Plot a list of losses with labels.
@@ -47,7 +47,7 @@ def plot_constraints(
47
constraints: List[List[float]],
48
constraints_labels: Optional[List[str]] = None,
49
iterations: Optional[List[int]] = None,
50
- return_fig: bool = True,
+ return_fig: bool = False,
51
52
53
Plot a list of constraints with labels.
@@ -82,7 +82,7 @@ def plot_single_spectrum(
82
wavelengths: List[float],
83
vlines: Optional[List[float]] = None,
84
hlines: Optional[List[float]] = None,
85
86
87
88
Plot a single spectrum with vertical and horizontal lines.
0 commit comments