Customise rendering


Hi. I just wanna have any advice if I can customise my rendering.
For example, I wanna include Q-value of my agent above its head on the rendering(any windows that I am recording via env.render() or gym.wrappers.Monitor()).

(Hopefully would also like to change the color of printout by the Q value)
How can I do this by modifying the gym module? Could anyone give me any guide if it is possible?


sorry but I havn’t gotten any reply for my enquiry.
Is that because mine is too easy to solve by myself(if so, could anyone please leave me any relevant link or google keyword to search?), or is not really worth to implement in gym?
Thank you.