<｜begin▁of▁sentence｜>### Instruction:
Given a famous 'petersen' graph, how would you use the DiamondDrawer class in igraph to draw the vertices as diamonds and display the graph?
### Response:
```python
import igraph as ig
from igraph.drawing import Plot
from igraph.drawing.shapes import DiamondDrawer

# Create a graph
g = ig.Graph.Famous('petersen')

# Initialize plot
plot = Plot()

# Draw vertices as diamonds
plot.add(g, vertex_drawer=DiamondDrawer())

plot.show()
```
<|EOT|>
