EarthLine¶
- class gdt.core.plot.plot.EarthLine(lat, lon, proj, color='black', alpha=0.4, **kwargs)[source]¶
Bases:
PlotElementPlot a line on the Earth.
- Parameters:
lat (np.array) – The latitude values of the line
lon (np.array) – The longitude values of the line
proj (GeoAxesSubplot) – The Cartopy projection
color (str, optional) – The color of the line
alpha (float, optional) – The alpha opacity of the line
**kwargs – Other plotting options
Attributes Summary
The alpha opacity value, between 0 and 1.
The object references to the individual matplotlib elements
The color of the plot element
The linestyle of the histogram.
The line width of the histogram.
True if the element is shown on the plot, False otherwise
The plot element zorder
Methods Summary
hide()Hide the plot element
remove()Remove the plot element
show()Show the plot element
toggle()Toggle the visibility of the plot element
Attributes Documentation
- alpha¶
The alpha opacity value, between 0 and 1.
- Type:
(float)
- artists¶
The object references to the individual matplotlib elements
- Type:
(list)
- color¶
The color of the plot element
- Type:
(str)
- linestyle¶
The linestyle of the histogram. Default is ‘-’
- Type:
(str)
- linewidth¶
The line width of the histogram. Default is 1.5
- Type:
(int)
- visible¶
True if the element is shown on the plot, False otherwise
- Type:
(bool)
- zorder¶
The plot element zorder
- Type:
(int)
Methods Documentation
- hide()¶
Hide the plot element
- remove()¶
Remove the plot element
- show()¶
Show the plot element
- toggle()¶
Toggle the visibility of the plot element