plot_k_type

cosmic.plotting.plot_k_type(ax_1, ax_2, ax_k_type_list, times, k1_out, k2_out, k_type_colors=None, k_type_labels=None)[source]

Plots the stellar types as a function of time

Parameters:
ax_1matplotlib.Axes

Axis instance for kstar 1

ax_2matplotlib.Axes

Axis instance for kstar 2

ax_k_type_listlist

List of ktypes for the legend of the ktype bar plots

timespandas.Series

Series of times at each binary evolution time step in Myr

k1_outpandas.Series

Series of kstar 1 type at each binary evolution time step in Myr

k2_outpandas.Series

Series of kstar 2 type at each binary evolution time step in Myr

k_type_colorslist

List of colors for each ktype

k_type_labelslist

List of labels for each ktype

Returns:
Null