tqec.simulation.plotting.inset#

Defines some helper functions to plot into insets.

Functions

add_inset_axes3d(ax_target, bounds)

Wrapper around fig.add_axes to achieve ax.inset_axes functionality that works also for insetting 3D plot on 2D ax/figures.

plot_observable_as_inset(ax_target, ...[, ...])

Plot the provided observable as an inset in the provided ax.