Closed
Description
Hey guys,
I recently tried to generate a figure in a jupyter notebook which consists of two maps (A and B). For that I first generated a map (A) using fig.coast(...)
which works well. For the second map (B) I first use shift_origin
to move it a little bit right. Then I use again fig.coast(...)
to generate map B. At this point the kernel dies and it's not possible to continue. Any ideas what happens here?
The issue is similar to #514, however, not exactly the same.
import pygmt
fig = pygmt.Figure()
lon = 19
lat = 64
fig.coast(region = 'g',
projection = 'E' + str(lon) + '/' + str(lat) + '/5c',
resolution = 'c',
shorelines = '1/thinnest,black',
frame = ['30g0'],
area_thresh = ['5000'],
G = 'lightgray',
C = 'lightgray')
fig.shift_origin(xshift = '3c')
fig.coast(region = 'g',
projection = 'E' + str(lon) + '/' + str(lat) + '/5c',
resolution = 'c',
shorelines = '1/thinnest,black',
frame = ['30g0'],
area_thresh = ['5000'],
G = 'lightgray',
C = 'lightgray')