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

Hi.

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?

download

FYI Matplotlib has their own Discourse, which is probably a better venue for accessing Matplotlib expertise and support: https://discourse.matplotlib.org/

I didn’t know about the site. Thanks.