<｜begin▁of▁sentence｜>### Instruction:
Given a Plotly graph visualization created with igraph, how can you determine the rotation angle for an edge label in order to align it with the corresponding edge in the graph?
### Response:
from igraph.drawing.edge import PlotlyEdgeDrawer

# Assume `edge` is an instance of the Edge class in igraph
# and `drawer` is an instance of PlotlyEdgeDrawer initiated with some graph plot.
rotation_angle = drawer.get_label_rotation(edge)
print('Rotation angle for edge label is:', rotation_angle)
<|EOT|>
