flask graphics