Scan1DResult¶
- class Scan1DResult(offsets, values, parameter_sets, center, direction, program_type)[source]¶
Bases:
objectAttributes Summary
Methods Summary
plot(*[, ax, show])Plot the sampled 1D landscape and return
(fig, ax).Attributes Documentation
Methods Documentation
- plot(*, ax=None, show=False, **plot_kwargs)[source]¶
Plot the sampled 1D landscape and return
(fig, ax).- Parameters:
ax – Optional matplotlib axes to draw into. When omitted, a new figure and axes are created.
show (
bool) – Whether to callmatplotlib.pyplot.show()after drawing. Defaults toFalseso the method works cleanly in scripts and tests.**plot_kwargs – Additional keyword arguments forwarded to
ax.plot.
- Returns:
(fig, ax)for the rendered plot.- Return type: