Malaga is broadly cooperative once you avoid the weaker patches
May, September and October give you the most supportive broad timing mix overall. If you are trimming the year down to the awkward months, it is December, August and January.
Compare nearby choices.
Stay in Spain, but see whether another destination fits your timing better.
The calendar is a travel tool.Use it.