I have to do several subplots, each with an inset at the same custom location relative to the subplot.
It can be done in principle with axes_grid1
as given in this example, however, the location parameter loc=
in inset_axes
or zoomed_inset_axes
is not specific enough for my purpose.
I have also tried with GridSpec
's get_grid_positions
, but I cannot make sense of the parameters it returns.
How can I get insets to look the same in each subplot without being forced to put them at specific locations?