79809905

Date: 2025-11-05 10:25:00
Score: 1
Natty:
Report link

The key is to set the title as animated:

title = ax.set_title("First title", animated = True)

Then when updating the plot:

title.set_text("Second title")       
ax.draw_artist(title)
canvas.blit(ax.bbox)
canvas.flush_events()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: gopromaster