**Problem**: I want to use matplotlib.patches.ConnectionPatch to connect two axes, one of them a Cartopy map projection.

**Expected:** The two lat/lon coordinates in each axes should be connected by a line.

**Result:** The line goes to 0,0 coordinate in the map projection, rather than the defined lat/lon.

It does work as expected if the projection is an unmodified cartopy.crs.PlateCarree(), but any other such as Robinson(), or with alternate central\_longitude does not.

**Code:**

```
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import cartopy.crs as ccrs

plt.close('all')
fig = plt.figure()
ax = plt.subplot(projection=ccrs.Robinson())

lon,lat = 145,-30

ax.stock_img()
ax.plot(lon,lat, marker='x', color='r', transform=ccrs.PlateCarree())

ax2 = fig.add_axes([0.1,0.06,0.8,0.1])
ax2.plot(lon,lat,marker='x', color='r')

# line between axes
con = patches.ConnectionPatch(
    xyA=(lon,lat), 
    xyB=(lon,lat), 
    coordsA='data', coordsB='data', axesA=ax, axesB=ax2, color='r')
ax2.add_artist(con)

plt.show()

```

![](https://i.stack.imgur.com/T04Bt.png)