I use colorama to stylize the output of tqdm in a way similar to this:
tqdm.pandas(f'{Fore.CYAN}some prefix text {Fore.RESET} some text {Fore.MAGENTA} Some message')
some prefix text is cyan, and Some message is magenta, but some text is somehow red! I actually need it to be white, i.e. the general color of the console, but as you probably know Fore.WHITE is not exactly white but somewhat gray, so it won't work.
Could anybody explain how this works, why I get it red, and what can I do here? Thank you very much.
My suggestion would be to use
Style.RESET_ALLfrom the Style object instead ofFore.RESETThe solution would look like this: