def __init__(self, *args, **kwargs):
"""Initialisation of the map object
:param *args: additional non-keyword parameters (passed to `basemap
<http://matplotlib.org/basemap/api/basemap_api.html#mpl
_toolkits.basemap.Basemap>`_)
:param **kwargs: additional keyword parameters (passed to `basemap
<http://matplotlib.org/basemap/api/basemap_api.html#mpl
_toolkits.basemap.Basemap>`_)
.. note::
Additional possible input in **kwargs wit to ``Basemap``
objects is "topo_data" which will be set in case it is a valid
input (i.e. :class:`TopoData`) and will be used for plotting
topography
"""
super(Map, self).__init__(*args, **kwargs)
self.topo_data = None
#IMPORTANT HANDLES
self.contour_lines = None
self.contour_filled = None
self.colorbars = {}
self.points = {}
self.lines = {}
self.polygons = {}
self.texts = {}
self.plotted_data = {}
self.map_scale = None
self.meridians = None
self.parallels = None
self.default_colors = {"contour_lines" : "#708090",
"land" : "#FFE0B2",
"water" : "#e6e6fa"}
评论列表
文章目录