In [1]:
from ahh import vis

In [2]:
vis.init_map(region='na') # quickly subset a region of interest such as North America


/home/solactus/anaconda3/lib/python3.5/site-packages/matplotlib/ticker.py:1856: UserWarning: Steps argument should be a sequence of numbers
increasing from 1 to 10, inclusive. Behavior with
values outside this range is undefined, and will
raise a ValueError in future versions of mpl.
  warnings.warn('Steps argument should be a sequence of numbers\n'
Out[2]:
<cartopy.mpl.geoaxes.GeoAxesSubplot at 0x7f3fe8cb1e10>

In [3]:
vis.init_map(latlim=(0, 90), lonlim=(-180, 0)) # or input personal lat lon extent


Out[3]:
<cartopy.mpl.geoaxes.GeoAxesSubplot at 0x7f3fe864b9b0>

In [4]:
ax = vis.init_map(region='us') # useful in combination with plot bounds
vis.plot_bounds(ax, latlim=(35, 45), lonlim=(-120, -105), color='red') # to highlight certain regions
vis.plot_bounds(ax, latlim=(35, 45), lonlim=(-100, -90), fill=True) # perhaps to indicate the boundary of your study
vis.plot_bounds(ax, latlim=(37, 42), lonlim=(-115, -110), linestyle=':', fill=True, alpha=0.25) # extremely customizable



In [ ]: