starplot.SkyObject
Model for plotting additional objects (e.g. DSOs)
Example Usage
Create a sky object of the Orion Nebula (M42) with custom styling:
m42 = SkyObject(
name="M42",
ra=5.58333,
dec=-4.61,
style={
"marker": {
"size": 10,
"symbol": "s",
"fill": "full",
"color": "#ff6868",
},
"label": {
"font_size": 10,
"font_weight": "bold",
"font_color": "darkred",
},
},
)
MapPlot.plot_object()
or ZenithPlot.plot_object()
Parameters:
-
name
(str
) –Name of object (used for plotting its label)
-
ra
(float
) –Right ascension (hours) of object
-
dec
(float
) –Declination (degrees) of object
-
style
(ObjectStyle
) –Styling for object
-
legend_label
(str
) –Optional. Label for object in the legend. If
None
(the default), then the object will not be labeled in the legend.