Map generation is slow, whereas everything else is fast. We can generate a single Basemap in memory with Germany and any other permanent information plotted on it. This can then be stored as an object in memory which any figures produced can then just copy and plot data on top of. (Obviously this won't work if we need some of the basemap data to be visible on top of the data, but it should work for the outline of Germany at least)
Map generation is slow, whereas everything else is fast. We can generate a single Basemap in memory with Germany and any other permanent information plotted on it. This can then be stored as an object in memory which any figures produced can then just copy and plot data on top of. (Obviously this won't work if we need some of the basemap data to be visible on top of the data, but it should work for the outline of Germany at least)