Note
Go to the end to download the full example code.
Cell sizeΒΆ
The size of a cell can be changed by the diameter argument. The value corresponds to the largest possible diameter.
import plotly
import ptvis
elements = list(ptvis.Element) * 2
fig = plotly.graph_objects.Figure()
ptvis.attach_pie_cells(fig, elements, diameter=0.5)
plotly.io.show(fig)