Hi Tommy, there is not easy way to do it with matplolib+basemap. Also, you will find it extra hard because the image you are plotting (blue marble) is raster that is cut in lon, lat bounding box. Therefore, unless you create a mask around what to plot and what not to plot, it will show everything that is inside that box.
One alternative is cartopy. With cartopy you have easy access to Natural Earth features. That way you can find the proper feature, that represents just the African continent, and plot it: http://scitools.org.uk/cartopy/docs/latest/examples/hurricane_katrina.html https://ocefpaf.github.io/python4oceanographers/blog/2013/09/30/natural_earth/ Good luck! -Filipe On Fri, Oct 24, 2014 at 7:21 AM, Tommy Carstensen < [email protected]> wrote: > Does anyone know, whether a continent can be left out when plotting > with matplotlib basemap? For example I wish to hide Europe (and > Madagascar) on this plot: > > http://www.tommycarstensen.com/python3_matplotlib_basemap_merc_bluemarbleTrue_scaledTrue_1000GTrue_hresolution.jpg
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users