Drag.draw¶
- Drag.draw(dt=1, style=None, filename=None, interp_method=None, scale=1, interactive=False, scaling=None)¶
Plot the pulse.
- Parameters
dt (
float
) – Time interval of samples.style (Optional[PulseStyle]) – A style sheet to configure plot appearance
filename (
Optional
[str
]) – Name required to save pulse imageinterp_method (
Optional
[Callable
]) – A function for interpolationscale (
float
) – Relative visual scaling of waveform amplitudesinteractive (
bool
) – When set true show the circuit in a new window (this depends on the matplotlib backend being used supporting this)scaling (
Optional
[float
]) – Deprecated, see scale
- Returns
A matplotlib figure object of the pulse envelope
- Return type
matplotlib.figure