Matplotlib-for-Storytellers icon indicating copy to clipboard operation
Matplotlib-for-Storytellers copied to clipboard

Problem with blanks at the beginning and end of items in labels list

Open virsto opened this issue 3 years ago • 1 comments

If I use the example in your video with your function color_title:

labels = ["What's Good for the ", "Goose", " is good for the ", "Gander."]
colors = ['black', 'C1', 'black','C2']
color_title(labels, colors)

The blank at the end of the 1st label, blank at the beginning of the 3rd label, and blank at the end of the 3rd label are removed by color_title.

virsto avatar Sep 29 '22 15:09 virsto

Hi @virsto, can you include an image of what you see? I can't replicate the problem. tmpgoose

alexanderthclark avatar Jul 22 '23 00:07 alexanderthclark