<｜begin▁of▁sentence｜>### Instruction:
Given a set of coordinates for a polygon, can you use PlotlyPolygonDrawer to draw a polygon on a Plotly figure, possibly with rounded corners if a corner_radius is provided?
### Response:
import plotly.graph_objects as go
from plotly_polygon_drawer import PlotlyPolygonDrawer

# Create a figure
fig = go.Figure()

# Define the coordinates of the polygon corners
points = [(1, 2), (3, 4), (5, 2), (3, 0)]

corner_radius = 0  # set to positive value for rounded corners

# Instantiate the drawer and draw the polygon
drawer = PlotlyPolygonDrawer(fig)
drawer.draw(points=points, corner_radius=corner_radius)

# Show the figure
fig.show()
<|EOT|>
