A collection of astronomical plots.
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import keplermap
fig = plt.figure(figsize=(8,8), dpi=150)
kmap = keplermap.KeplerMap(fig, [0.1,0.1,0.8,0.8], season=1)
fig.add_axes(kmap)
kmap.plot_kepler_field(lw=0.5, fc='C0', ec='k', alpha=0.3)
kmap.plot_field_stars()
kmap.plot_clusters()
kmap.grid(color='k', ls='--', alpha=0.2)
kmap.set_xlabel('Right Ascension')
kmap.set_ylabel('Declination')
fig.savefig('kepler_map.png')
plt.show()
Below example shows the time of twilights in the year of 2019. Light and deep blue regions are the time free of civil twilight and astronomical twilight, repsectively. Sunrise and sunset are shown in red lines. Also shown in the figure is the transit time and date of full moon (solid yellow points).