style = PlotStyle().extend(
extensions.BLUE_NIGHT,
extensions.MAP,
)
p = MapPlot(
projection=Miller(),
ra_min=0,
ra_max=360,
dec_min=-65,
dec_max=65,
style=style,
resolution=10000,
# since this map has a very large extent, let's scale everything down
scale=1,
)
p.gridlines(labels = False, dec_locations = [-35,35])
p.constellations()
p.stars(where=[_.magnitude < 5.5], where_labels=[_.magnitude < 2.1])
p.constellation_labels(style__font_size=28)
p.milky_way()
p.ecliptic()
p.celestial_equator()
p.hide_colliding_labels = False
p.text(
text = 'Sometext',
ra = 193,
dec = 63,
style = style,
hide_on_collision = False,
remove_on_constellation_collision = False
)
p.hide_colliding_labels = True
p.export("map_big.png", padding=0.5)
Hi Steve,
i saw somewhere here you suggested this way to print text to the plot. I got an issue with that.
The code is that: