Update "Figures" sample: add polymorphism code sample .