added plot_types attribute