SkyAnnulus

class gdt.core.plot.plot.SkyAnnulus(x, y, radius, width, ax, flipped=True, frame='equatorial', color='C0', alpha=1.0, **kwargs)[source]

Bases: PlotElement

Plot an annulus on the sky in equatorial, galactic, or spacecraft coordinates.

Parameters:
  • x (float) – The azimuthal center, in degrees

  • y (float) – The polar center, in degrees

  • radius (float) – The radius in degrees, defined as the angular distance from the center to the middle of the width of the annulus band.

  • width (float) – The width onf the annulus in degrees

  • ax (matplotlib.axes) – The axis on which to plot

  • flipped (bool, optional) – If True, the azimuthal axis is flipped, following equatorial convention

  • frame (str, optional) – Either ‘equatorial’, ‘galactic’, ‘spacecraft’. Default is ‘equatorial’

  • color (str, optional) – The color of the annulus.

  • alpha (float, optional) – The opacity of the annulus.

  • **kwargs – Other plotting options

Attributes Summary

alpha

The alpha opacity value, between 0 and 1.

artists

The object references to the individual matplotlib elements

color

The color of the annulus

hatch

The hatching string

linestyle

The linestyle of the edge

linewidth

The line width of the edge

visible

True if the element is shown on the plot, False otherwise

zorder

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 annulus

Type:

(str)

hatch

The hatching string

Type:

(str)

linestyle

The linestyle of the edge

Type:

(str)

linewidth

The line width of the edge

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