diff --git a/solventmapcreator/polynomialanalysis/polynomialanalysisplotting.py b/solventmapcreator/polynomialanalysis/polynomialanalysisplotting.py index 6fb40c98ec060646adebf6d7632cfcd621a7faf0..2c9574643ee8d87db9766862a11e111e6b4541da 100644 --- a/solventmapcreator/polynomialanalysis/polynomialanalysisplotting.py +++ b/solventmapcreator/polynomialanalysis/polynomialanalysisplotting.py @@ -15,7 +15,8 @@ logging.basicConfig() LOGGER = logging.getLogger(__name__) LOGGER.setLevel(logging.WARN) -COLOUR_LIST = ["r", "b", "g", "c", "m", "y"] +COLOUR_LIST = ["orangered", "b", "g", "fuchsia", "c", "darkmagenta", + "darkorange", "olive", "navy", "forestgreen"] def create_bar_plot_write_to_file(input_data, filename_stem, **kwargs): """This creates the bar plot and saves it to file. @@ -46,9 +47,9 @@ def create_bar_plot(input_data, **kwargs): def add_labels_to_plot(bar_plot_axis, index, order_tuple): """This adds the labels to the given axis. """ - bar_plot_axis.ylabel("N") - bar_plot_axis.xlabel("polynomial order") - bar_plot_axis.xticks(index, order_tuple) + bar_plot_axis.set_ylabel("N") + bar_plot_axis.set_xlabel("polynomial order") + bar_plot_axis.set_xticks(index, order_tuple) def create_plot_with_axis(figsize): """This creates the plot and axis.