Skip to content

pycauset.vis

The pycauset.vis module provides tools for visualizing Causal Sets.

Functions

Description

This module leverages Plotly to create interactive 3D visualizations. It is designed to handle large causal sets efficiently by using smart sampling and on-demand coordinate generation.

Examples

from pycauset import CausalSet
from pycauset.vis import plot_embedding

c = CausalSet(n=1000)
fig = plot_embedding(c)
fig.show()