I am the last person to suggest that art should exist for anything but art. My garden being less about art than food, however, features vegetables and fruits almost exclusively. Almost.
Marigolds are one of the few exceptions, tucked in between the tomatoes to keep the bugs at bay. They are all about enjoying art of the functional kind. And just for the heck of art, too.