<p dir="auto"><code class="notranslate">ax.inset_axes</code> does not allow <code class="notranslate">set_position</code> or <code class="notranslate">set_transform</code> if the user wants to change the position of an inset axes.  This s probably easy to add, but I think means that <code class="notranslate">inset_axes</code> would need to have a new axes subclass that overloads those methods.</p>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Axes added using Axes.inset_axes() in matplotlib 3.0.2 don't respond visually to Axes.set_position().</p>
<p dir="auto"><strong>Code for reproduction</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt

# an example using regular axes
fig, ax = plt.subplots()
ax2 = fig.add_axes([.7,.7,.2,.2])
ax2.set_position([.1,.1,.2,.2])
print(ax2.get_position())
plt.show()
# plt.show() shows axes that match the ax2.get_position() output

# an example using Axes.inset_axes
fig, ax = plt.subplots()
ax2 = ax.inset_axes([.7,.7,.2,.2])
ax2.set_position([.1,.1,.2,.2])
print(ax2.get_position())
plt.show()
# plt.show() shows axes at the position set when ax.inset_axes was called, but ax2.get_position() shows the values from set_position "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>

<span class="pl-c"># an example using regular axes</span>
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>()
<span class="pl-s1">ax2</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_axes</span>([<span class="pl-c1">.7</span>,<span class="pl-c1">.7</span>,<span class="pl-c1">.2</span>,<span class="pl-c1">.2</span>])
<span class="pl-s1">ax2</span>.<span class="pl-en">set_position</span>([<span class="pl-c1">.1</span>,<span class="pl-c1">.1</span>,<span class="pl-c1">.2</span>,<span class="pl-c1">.2</span>])
<span class="pl-en">print</span>(<span class="pl-s1">ax2</span>.<span class="pl-en">get_position</span>())
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()
<span class="pl-c"># plt.show() shows axes that match the ax2.get_position() output</span>

<span class="pl-c"># an example using Axes.inset_axes</span>
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>()
<span class="pl-s1">ax2</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">inset_axes</span>([<span class="pl-c1">.7</span>,<span class="pl-c1">.7</span>,<span class="pl-c1">.2</span>,<span class="pl-c1">.2</span>])
<span class="pl-s1">ax2</span>.<span class="pl-en">set_position</span>([<span class="pl-c1">.1</span>,<span class="pl-c1">.1</span>,<span class="pl-c1">.2</span>,<span class="pl-c1">.2</span>])
<span class="pl-en">print</span>(<span class="pl-s1">ax2</span>.<span class="pl-en">get_position</span>())
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()
<span class="pl-c"># plt.show() shows axes at the position set when ax.inset_axes was called, but ax2.get_position() shows the values from set_position </span></pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Bbox(x0=0.1, y0=0.1, x1=0.30000000000000004, y1=0.30000000000000004)
Bbox(x0=0.1, y0=0.1, x1=0.30000000000000004, y1=0.30000000000000004)"><pre class="notranslate"><span class="pl-v">Bbox</span>(<span class="pl-s1">x0</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>, <span class="pl-s1">y0</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>, <span class="pl-s1">x1</span><span class="pl-c1">=</span><span class="pl-c1">0.30000000000000004</span>, <span class="pl-s1">y1</span><span class="pl-c1">=</span><span class="pl-c1">0.30000000000000004</span>)
<span class="pl-v">Bbox</span>(<span class="pl-s1">x0</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>, <span class="pl-s1">y0</span><span class="pl-c1">=</span><span class="pl-c1">0.1</span>, <span class="pl-s1">x1</span><span class="pl-c1">=</span><span class="pl-c1">0.30000000000000004</span>, <span class="pl-s1">y1</span><span class="pl-c1">=</span><span class="pl-c1">0.30000000000000004</span>)</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4028662/49946889-cb821300-fee7-11e8-8b55-6831727436d7.png"><img src="https://user-images.githubusercontent.com/4028662/49946889-cb821300-fee7-11e8-8b55-6831727436d7.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">I believe the outcome should match the regular Axes use case:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4028662/49947111-56fba400-fee8-11e8-80a4-81135c493eac.png"><img src="https://user-images.githubusercontent.com/4028662/49947111-56fba400-fee8-11e8-80a4-81135c493eac.png" alt="image" style="max-width: 100%;"></a></p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: Windows 10 x64</li>
<li>Matplotlib version: 3.0.2</li>
<li>Matplotlib backend: TkAgg</li>
<li>Python version: 3.7.0</li>
<li>Other libraries:<br>
altgraph==0.16.1<br>
bleach==3.0.2<br>
certifi==2018.11.29<br>
chardet==3.0.4<br>
Click==7.0<br>
cx-Freeze==5.1.1<br>
cycler==0.10.0<br>
docutils==0.14<br>
future==0.17.1<br>
idna==2.7<br>
kiwisolver==1.0.1<br>
macholib==1.11<br>
matplotlib==3.0.2<br>
numpy==1.15.1+mkl<br>
pefile==2018.8.8<br>
Pillow==5.3.0<br>
pkginfo==1.4.2<br>
Pygments==2.3.0<br>
PyInstaller==3.4<br>
pyjanssen==0.1<br>
pyparsing==2.3.0<br>
PyQt5==5.11.3<br>
PyQt5-sip==4.19.13<br>
pyqt5-tools==5.11.2.1.3<br>
python-dateutil==2.7.5<br>
python-dotenv==0.9.1<br>
pytz==2018.7<br>
pywin32-ctypes==0.2.0<br>
readme-renderer==24.0<br>
requests==2.20.1<br>
requests-toolbelt==0.8.0<br>
scipy==1.1.0<br>
six==1.11.0<br>
tqdm==4.28.1<br>
twine==1.12.1<br>
urllib3==1.24.1<br>
virtualenv==16.1.0<br>
webencodings==0.5.1<br>
websockets==7.0</li>
</ul>