Open nikohansen opened 2 years ago
In addition, using a dark background, this is what I see:
The issue is that the background is transparent instead of white. A possible fix is to do set fig.patch.set_alpha(1.0)
right before the fig.savefig
(from https://stackoverflow.com/questions/71010292/cannot-change-background-color-of-matplotlib-figure-when-saving-as-image).
Possible solutions:
1:CMA-ES-Aki
, 2:...
(by alphabetical order, or given order)\n
as 8-th characterI vote for the first one :-)
Gives currently for example this figure:
with two line with indistinguishable names
DD-CMA-E
, because the font size is adapted to be large when the number of lines is small. In this case, the problem is also not solved by prepending the year, because the data are from the same year. We could prepend a number, but this would not quite solve the problem to identify which is which (accept that we know in principle the order in which we used the data sets as input tococopp
).