How to implement a inset in a graph on Matplotlib.pyplot with scale diferent from the first graph?


I need some help with this problem.
So, i want to plot a graph like this below, but with the inset on scale exp(x).
The graph is y = log(x) and the inset i want is y = exp(log(x)) = x, showing a straight and no a curve. How do this?


FYI Matplotlib has their own Discourse, which is probably a better venue for accessing Matplotlib expertise and support:

I didn’t know about the site. Thanks.