[Matplotlib-users] positioning an inset_axes precisely in the figure

2010-01-26 Thread per freem
hi all, i am using mpl_toolkits.axes_grid.inset_locator.inset_axes to plot an inset axes inside my figure, as follows: inset = inset_axes(s, width=30%, # width = 30% of parent_bbox height=.5, # height : 1 inch loc=4 ) i am

Re: [Matplotlib-users] positioning an inset_axes precisely in the figure

2010-01-26 Thread Jae-Joon Lee
*bbox_transform* expects a Transform instance. ax = subplot(111) ax2 = inset_axes(ax, width=3, height=2, loc=3, bbox_to_anchor=(0.1, 0.1), bbox_transform=ax.figure.transFigure) Note that, bbox_to_anchor with a tuple of two numbers creates a bbox with